[asterisk-commits] russell: branch 1.4 r51829 - in /branches/1.4:
./ apps/app_while.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Jan 23 17:19:55 MST 2007
Author: russell
Date: Tue Jan 23 18:19:55 2007
New Revision: 51829
URL: http://svn.digium.com/view/asterisk?view=rev&rev=51829
Log:
Merged revisions 51828 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51828 | russell | 2007-01-23 18:17:50 -0600 (Tue, 23 Jan 2007) | 4 lines
Don't set a new value for the END_ variable on the channel before using the
old value. If you do, it will lead to accessing a memory address that has
been free()'d. (issue #8895, arkadia)
........
Modified:
branches/1.4/ (props changed)
branches/1.4/apps/app_while.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/apps/app_while.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_while.c?view=diff&rev=51829&r1=51828&r2=51829
==============================================================================
--- branches/1.4/apps/app_while.c (original)
+++ branches/1.4/apps/app_while.c Tue Jan 23 18:19:55 2007
@@ -231,8 +231,8 @@
pbx_builtin_setvar_helper(chan, my_name, NULL);
snprintf(end_varname,VAR_SIZE,"END_%s",varname);
if ((goto_str=pbx_builtin_getvar_helper(chan, end_varname))) {
+ ast_parseable_goto(chan, goto_str);
pbx_builtin_setvar_helper(chan, end_varname, NULL);
- ast_parseable_goto(chan, goto_str);
} else {
int pri = find_matching_endwhile(chan);
if (pri > 0) {
More information about the asterisk-commits
mailing list