]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fixed Asterisk crash when function QUEUE_MEMBER receives invalid input
authorMatthew Jordan <mjordan@digium.com>
Wed, 14 Dec 2011 21:58:12 +0000 (21:58 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 14 Dec 2011 21:58:12 +0000 (21:58 +0000)
commit3d7518913972ec5459cd934c7126ab950dc19038
treeb6979403319e626302122b51282eb89b9c164036
parent1820e2333001b041b2edfe104348f305e7809a83
Fixed Asterisk crash when function QUEUE_MEMBER receives invalid input

The function QUEUE_MEMBER has two required parameters (queuename, option).  It
was only checking for the presence of queuename.  The patch checks for the
existence of the option parameter and provides better error logging when
invalid values are provided for the option parameter as well.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@348211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c