[asterisk-commits] dbrooks: branch 1.6.2 r229492 - in /branches/1.6.2: ./ apps/app_softhangup.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Nov 11 12:36:02 CST 2009
Author: dbrooks
Date: Wed Nov 11 12:35:58 2009
New Revision: 229492
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=229492
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.2/ (props changed)
branches/1.6.2/apps/app_softhangup.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/apps/app_softhangup.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/apps/app_softhangup.c?view=diff&rev=229492&r1=229491&r2=229492
==============================================================================
--- branches/1.6.2/apps/app_softhangup.c (original)
+++ branches/1.6.2/apps/app_softhangup.c Wed Nov 11 12:35:58 2009
@@ -74,7 +74,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