[asterisk-commits] russell: branch 1.6.0 r238011 - in /branches/1.6.0: ./ apps/app_mp3.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 6 09:20:07 CST 2010


Author: russell
Date: Wed Jan  6 09:20:01 2010
New Revision: 238011

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

................
  r238010 | russell | 2010-01-06 09:19:10 -0600 (Wed, 06 Jan 2010) | 14 lines
  
  Merged revisions 238009 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r238009 | russell | 2010-01-06 09:18:22 -0600 (Wed, 06 Jan 2010) | 7 lines
    
    Resolve a crash due to an ast_frame not being fully initialized.
    
    (closes issue #16531)
    Reported by: john8675309
    
    (closes SWP-615)
  ........
................

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/apps/app_mp3.c

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

Modified: branches/1.6.0/apps/app_mp3.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.0/apps/app_mp3.c?view=diff&rev=238011&r1=238010&r2=238011
==============================================================================
--- branches/1.6.0/apps/app_mp3.c (original)
+++ branches/1.6.0/apps/app_mp3.c Wed Jan  6 09:20:01 2010
@@ -147,8 +147,10 @@
 		struct ast_frame f;
 		char offset[AST_FRIENDLY_OFFSET];
 		short frdata[160];
-	} myf;
-	
+	} myf = {
+		.f = { 0, },
+	};
+
 	if (ast_strlen_zero(data)) {
 		ast_log(LOG_WARNING, "MP3 Playback requires an argument (filename)\n");
 		return -1;




More information about the asterisk-commits mailing list