[asterisk-commits] dvossel: branch 1.8 r316334 - /branches/1.8/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 3 17:06:04 CDT 2011


Author: dvossel
Date: Tue May  3 17:05:59 2011
New Revision: 316334

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=316334
Log:
Fixes framehook segfault on indicate

(closes issue #19215)
Reported by: irroot
Patches: 
      framehook_indicate.patch uploaded by irroot (license 52)


Modified:
    branches/1.8/main/channel.c

Modified: branches/1.8/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/channel.c?view=diff&rev=316334&r1=316333&r2=316334
==============================================================================
--- branches/1.8/main/channel.c (original)
+++ branches/1.8/main/channel.c Tue May  3 17:05:59 2011
@@ -4268,7 +4268,7 @@
 		awesome_frame = ast_frdup(&frame);
 
 		/* who knows what we will get back! the anticipation is killing me. */
-		if (!(awesome_frame = ast_framehook_list_read_event(chan->framehooks, &frame))) {
+		if (!(awesome_frame = ast_framehook_list_read_event(chan->framehooks, awesome_frame))) {
 			res = 0;
 			goto indicate_cleanup;
 		}




More information about the asterisk-commits mailing list