[asterisk-commits] mmichelson: branch 1.6.2 r185603 - in /branches/1.6.2: ./ apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Mar 31 17:05:35 CDT 2009
Author: mmichelson
Date: Tue Mar 31 17:05:31 2009
New Revision: 185603
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=185603
Log:
Merged revisions 185600 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r185600 | mmichelson | 2009-03-31 17:02:48 -0500 (Tue, 31 Mar 2009) | 12 lines
Merged revisions 185599 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r185599 | mmichelson | 2009-03-31 17:00:01 -0500 (Tue, 31 Mar 2009) | 6 lines
Fix crash that would occur if an empty member was specified in queues.conf.
(closes issue #14796)
Reported by: pida
........
................
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/apps/app_queue.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/apps/app_queue.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.2/apps/app_queue.c?view=diff&rev=185603&r1=185602&r2=185603
==============================================================================
--- branches/1.6.2/apps/app_queue.c (original)
+++ branches/1.6.2/apps/app_queue.c Tue Mar 31 17:05:31 2009
@@ -5603,6 +5603,11 @@
AST_APP_ARG(state_interface);
);
+ if (ast_strlen_zero(memberdata)) {
+ ast_log(LOG_WARNING, "Empty queue member definition at line %d. Moving on!\n", var->lineno);
+ return;
+ }
+
/* Add a new member */
parse = ast_strdupa(memberdata);
More information about the asterisk-commits
mailing list