[asterisk-bugs] [Asterisk 0014643]: Segfaults if queue name is wrong

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 11 09:30:10 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:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 179219 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-03-11 04:59 CDT
Last Modified:              2009-03-11 09:30 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)

====================================================================== 

---------------------------------------------------------------------- 
 (0101528) svnbot (reporter) - 2009-03-11 09:30
 http://bugs.digium.com/view.php?id=14643#c101528 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 181246

_U  branches/1.6.1/

------------------------------------------------------------------------
r181246 | mmichelson | 2009-03-11 09:30:10 -0500 (Wed, 11 Mar 2009) | 16
lines

Blocked revisions 181244 via svnmerge

........
  r181244 | mmichelson | 2009-03-11 09:28:40 -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=181246 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-11 09:30 svnbot         Checkin                                      
2009-03-11 09:30 svnbot         Note Added: 0101528                          
======================================================================




More information about the asterisk-bugs mailing list