[svn-commits] mmichelson: trunk r185600 - in /trunk: ./ apps/app_queue.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Mar 31 17:02:52 CDT 2009


Author: mmichelson
Date: Tue Mar 31 17:02:48 2009
New Revision: 185600

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=185600
Log:
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:
    trunk/   (props changed)
    trunk/apps/app_queue.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/apps/app_queue.c?view=diff&rev=185600&r1=185599&r2=185600
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Tue Mar 31 17:02:48 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 svn-commits mailing list