|Summary:||ASTERISK-08649: [patch] Variable used after it was free()|
|Reporter:||Dmytro Mishchenko (arkadia)||Labels:|
|Date Opened:||2007-01-23 04:09:14.000-0600||Date Closed:||2007-01-23 18:23:50.000-0600|
|Environment:||Attachments:||( 0) app_while_12.patch|
|Description:||goto_str=pbx_builtin_getvar_helper(chan, end_varname) returns pointer to channel variable value.|
pbx_builtin_setvar_helper(chan, end_varname, NULL) removes this variable and call free() for it.
Later on in the code we are trying to use goto_str which has unpredictable value.
Applicable for Asterisks v1.2, 1.4, trunk.
|Comments:||By: Russell Bryant (russell) 2007-01-23 18:23:49.000-0600|
This has been fixed in the 1.2 branch, 1.4 branch, and the trunk in reivisions 51828, 51829, and 51830. Thanks!