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