[asterisk-commits] dbrooks: trunk r228145 - in /trunk: ./ channels/chan_misdn.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 5 13:34:56 CST 2009


Author: dbrooks
Date: Thu Nov  5 13:34:50 2009
New Revision: 228145

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=228145
Log:
Merged revisions 228078 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r228078 | dbrooks | 2009-11-05 12:59:41 -0600 (Thu, 05 Nov 2009) | 9 lines
  
  chan_misdn Asterisk 1.4.27-rc2 crash
  
  Crash related to chan_misdn connection. Patch submitted by gknispel_proformatique, tested
  by francesco_r. "I have many crash since i have upgraded to Asterisk 1.4.27-rc2. Attached
  a full bt." This patch zeros out an ast_frame.
  
  (closes issue #16041)
  Reported by: francesco_r
........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_misdn.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_misdn.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_misdn.c?view=diff&rev=228145&r1=228144&r2=228145
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Thu Nov  5 13:34:50 2009
@@ -10303,6 +10303,7 @@
 			struct ast_frame frame;
 
 			/* In Data Modes we queue frames */
+			memset(&frame, 0, sizeof(frame));
 			frame.frametype = AST_FRAME_VOICE; /* we have no data frames yet */
 			frame.subclass.codec = AST_FORMAT_ALAW;
 			frame.datalen = bc->bframe_len;




More information about the asterisk-commits mailing list