[asterisk-commits] tilghman: branch 1.6.1 r228016 - in /branches/1.6.1: ./ apps/app_externalivr.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Nov 5 11:10:10 CST 2009
Author: tilghman
Date: Thu Nov 5 11:10:06 2009
New Revision: 228016
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=228016
Log:
Merged revisions 228015 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r228015 | tilghman | 2009-11-05 11:08:02 -0600 (Thu, 05 Nov 2009) | 4 lines
Don't crash if no arguments are passed.
(closes issue #16119)
Reported by: thedavidfactor
........
Modified:
branches/1.6.1/ (props changed)
branches/1.6.1/apps/app_externalivr.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/apps/app_externalivr.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.1/apps/app_externalivr.c?view=diff&rev=228016&r1=228015&r2=228016
==============================================================================
--- branches/1.6.1/apps/app_externalivr.c (original)
+++ branches/1.6.1/apps/app_externalivr.c Thu Nov 5 11:10:06 2009
@@ -348,6 +348,11 @@
u->abort_current_sound = 0;
u->chan = chan;
+
+ if (ast_strlen_zero(data)) {
+ ast_log(LOG_WARNING, "ExternalIVR requires a command to execute\n");
+ return -1;
+ }
buf = ast_strdupa(data);
AST_STANDARD_APP_ARGS(eivr_args, buf);
More information about the asterisk-commits
mailing list