[asterisk-commits] dbrooks: branch 1.6.0 r228146 - in /branches/1.6.0: ./ channels/chan_misdn.c

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


Author: dbrooks
Date: Thu Nov  5 13:39:23 2009
New Revision: 228146

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

................
  r228145 | dbrooks | 2009-11-05 13:34:50 -0600 (Thu, 05 Nov 2009) | 16 lines
  
  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:
    branches/1.6.0/   (props changed)
    branches/1.6.0/channels/chan_misdn.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/channels/chan_misdn.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.0/channels/chan_misdn.c?view=diff&rev=228146&r1=228145&r2=228146
==============================================================================
--- branches/1.6.0/channels/chan_misdn.c (original)
+++ branches/1.6.0/channels/chan_misdn.c Thu Nov  5 13:39:23 2009
@@ -5097,6 +5097,7 @@
 		if (!misdn_cap_is_speech(ch->bc->capability)) {
 			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 = AST_FORMAT_ALAW;
 			frame.datalen = bc->bframe_len;




More information about the asterisk-commits mailing list