[asterisk-bugs] [Asterisk 0014643]: Segfaults if queue name is wrong
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Mar 11 09:28:42 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14643
======================================================================
Reported By: alecdavis
Assigned To: mmichelson
======================================================================
Project: Asterisk
Issue ID: 14643
Category: Applications/app_queue
Reproducibility: always
Severity: crash
Priority: normal
Status: assigned
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 179219
Request Review:
======================================================================
Date Submitted: 2009-03-11 04:59 CDT
Last Modified: 2009-03-11 09:28 CDT
======================================================================
Summary: Segfaults if queue name is wrong
Description:
Dialplan typo can crash asterisk if queue names don't exist, due to a typo
or a missed change.
queues are really 'itg_queue' and 'itg_queue2'
type is in priority 3.
;Incoming calls to queue 1
exten => 8301,1,Answer()
exten => 8301,2,Queue(itgqueue,hH,,,60)
exten => 8301,3,NoOp(QUEUE1STATUS=${QUEUESTATUS})
exten => 8301,4,Queue(itg_queue2,hH,,,60)
exten => 8301,5,NoOp(QUEUE2STATUS=${QUEUESTATUS})
exten => 8301,6,Voicemail(${EXTEN},u)
======================================================================
----------------------------------------------------------------------
(0101526) svnbot (reporter) - 2009-03-11 09:28
http://bugs.digium.com/view.php?id=14643#c101526
----------------------------------------------------------------------
Repository: asterisk
Revision: 181244
U trunk/apps/app_queue.c
------------------------------------------------------------------------
r181244 | mmichelson | 2009-03-11 09:28:41 -0500 (Wed, 11 Mar 2009) | 11
lines
Fix segfault when dialing a typo'd queue
If trying to dial a non-existent queue, there would
be a segfault when attempting to access q->weight, even
though q was NULL. This problem was introduced during
the queue-reset merge and thus only affects trunk.
(closes issue http://bugs.digium.com/view.php?id=14643)
Reported by: alecdavis
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=181244
Issue History
Date Modified Username Field Change
======================================================================
2009-03-11 09:28 svnbot Checkin
2009-03-11 09:28 svnbot Note Added: 0101526
======================================================================
More information about the asterisk-bugs
mailing list