[asterisk-commits] russell: branch 1.6.2 r238013 - in /branches/1.6.2: ./ apps/app_mp3.c

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


Author: russell
Date: Wed Jan  6 09:22:41 2010
New Revision: 238013

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=238013
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.2/   (props changed)
    branches/1.6.2/apps/app_mp3.c

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

Modified: branches/1.6.2/apps/app_mp3.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/apps/app_mp3.c?view=diff&rev=238013&r1=238012&r2=238013
==============================================================================
--- branches/1.6.2/apps/app_mp3.c (original)
+++ branches/1.6.2/apps/app_mp3.c Wed Jan  6 09:22:41 2010
@@ -131,8 +131,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