[asterisk-commits] tilghman: branch 1.6.1 r145430 - in /branches/1.6.1: ./ apps/app_sms.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Oct 1 10:45:58 CDT 2008
Author: tilghman
Date: Wed Oct 1 10:45:58 2008
New Revision: 145430
URL: http://svn.digium.com/view/asterisk?view=rev&rev=145430
Log:
Merged revisions 145428 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r145428 | tilghman | 2008-10-01 10:44:06 -0500 (Wed, 01 Oct 2008) | 7 lines
Initializing buffer prevents a segfault when arguments are incomplete.
(closes issue #13471)
Reported by: alecdavis
Patches:
20080916__bug13471.diff.txt uploaded by Corydon76 (license 14)
Tested by: alecdavis
........
Modified:
branches/1.6.1/ (props changed)
branches/1.6.1/apps/app_sms.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/apps/app_sms.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/apps/app_sms.c?view=diff&rev=145430&r1=145429&r2=145430
==============================================================================
--- branches/1.6.1/apps/app_sms.c (original)
+++ branches/1.6.1/apps/app_sms.c Wed Oct 1 10:45:58 2008
@@ -1744,7 +1744,7 @@
sms_t h = { 0 };
/* argument parsing support */
struct ast_flags flags;
- char *parse, *sms_opts[OPTION_ARG_ARRAY_SIZE];
+ char *parse, *sms_opts[OPTION_ARG_ARRAY_SIZE] = { 0, };
char *p;
AST_DECLARE_APP_ARGS(sms_args,
AST_APP_ARG(queue);
More information about the asterisk-commits
mailing list