[asterisk-commits] dbrooks: branch 1.6.0 r229475 - in /branches/1.6.0: ./ apps/app_softhangup.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 11 12:20:25 CST 2009


Author: dbrooks
Date: Wed Nov 11 12:20:21 2009
New Revision: 229475

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

........
  r229460 | dbrooks | 2009-11-11 12:13:56 -0600 (Wed, 11 Nov 2009) | 7 lines
  
  Flags not initialized in app_softhangup.c, causing undefined behavior
  
  Trivial patch [kobaz] to initialize an ast_flags = {0}
  
  (closes issue #16129)
  Reported by: kobaz
........

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

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

Modified: branches/1.6.0/apps/app_softhangup.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.0/apps/app_softhangup.c?view=diff&rev=229475&r1=229474&r2=229475
==============================================================================
--- branches/1.6.0/apps/app_softhangup.c (original)
+++ branches/1.6.0/apps/app_softhangup.c Wed Nov 11 12:20:21 2009
@@ -59,7 +59,7 @@
 	struct ast_channel *c = NULL;
 	char *cut, *opts[0];
 	char name[AST_CHANNEL_NAME] = "", *parse;
-	struct ast_flags flags;
+	struct ast_flags flags = {0};
 	int lenmatch;
 	AST_DECLARE_APP_ARGS(args,
 		AST_APP_ARG(channel);




More information about the asterisk-commits mailing list