[asterisk-commits] russell: trunk r238010 - in /trunk: ./ apps/app_mp3.c

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


Author: russell
Date: Wed Jan  6 09:19:10 2010
New Revision: 238010

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

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

Modified: trunk/apps/app_mp3.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_mp3.c?view=diff&rev=238010&r1=238009&r2=238010
==============================================================================
--- trunk/apps/app_mp3.c (original)
+++ trunk/apps/app_mp3.c Wed Jan  6 09:19:10 2010
@@ -145,8 +145,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