[asterisk-bugs] [Asterisk 0016202]: [patch] Asterisk 1.6.0.13 Asterisk crashes when running dialplan app macro on a macro that does not exist.

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 11 14:35:45 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16202 
====================================================================== 
Reported By:                jsutton
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16202
Category:                   Applications/app_macro
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Target Version:             1.6.2.9
Asterisk Version:           SVN 
JIRA:                       SWP-1319 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-06 16:28 CST
Last Modified:              2010-05-11 14:35 CDT
====================================================================== 
Summary:                    [patch] Asterisk 1.6.0.13 Asterisk crashes when
running dialplan app macro on a macro that does not exist.
Description: 
I see this issue running 1.6.0.13 with asterisk addons 1.6.0.3 with
realtime extensions configured. This is a problem as a typo in an extension
can cause a crash. See CLI output below.

    -- Executing macro("SIP/4692538023-086383e8", "non-exist")
[Nov  6 15:13:04] WARNING[5916]: app_macro.c:239 _macro_exec: No such
context 'macro-non-exist' for macro 'non-exist'
*CLI>
Disconnected from Asterisk server
====================================================================== 

---------------------------------------------------------------------- 
 (0121733) svnbot (reporter) - 2010-05-11 14:35
 https://issues.asterisk.org/view.php?id=16202#c121733 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 262418

U   branches/1.6.0/channels/chan_sip.c

------------------------------------------------------------------------
r262418 | tilghman | 2010-05-11 14:35:37 -0500 (Tue, 11 May 2010) | 8
lines

Backport fix for issue https://issues.asterisk.org/view.php?id=16774 to 1.6.0
(refcount leak with provisional
responses)

(closes issue https://issues.asterisk.org/view.php?id=16202)
 Reported by: jsutton
 Patches: 
       20100504__issue16202.diff.txt uploaded by tilghman (license 14)
 Tested by: tilghman

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=262418 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-11 14:35 svnbot         Checkin                                      
2010-05-11 14:35 svnbot         Note Added: 0121733                          
======================================================================




More information about the asterisk-bugs mailing list