[asterisk-bugs] [Asterisk 0013312]: crash when subscribe to pattern match for a hint

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 15 14:14:10 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13312 
====================================================================== 
Reported By:                pj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13312
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 136787 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-15 13:13 CDT
Last Modified:              2008-08-15 14:14 CDT
====================================================================== 
Summary:                    crash when subscribe to pattern match for a hint
Description: 
I'm using this ael syntax for pattern match for hint
        hint(SIP/${EXTEN}) _ZXX => NoOP;
when I tried to subscribe, it causes asterisk to crash.

subscribe to "normal" match hints using this ...
        hint(SIP/761) 761 => NoOP;
... works fine.

pattern match for hints feature was added into trunk in rev. 109970




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

---------------------------------------------------------------------- 
 (0091455) svnbot (reporter) - 2008-08-15 14:14
 http://bugs.digium.com/view.php?id=13312#c91455 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 138124

U   trunk/main/pbx.c

------------------------------------------------------------------------
r138124 | tilghman | 2008-08-15 14:14:08 -0500 (Fri, 15 Aug 2008) | 4
lines

e->data can be NULL, so use the safe version of ast_strdup()
(closes issue http://bugs.digium.com/view.php?id=13312)
 Reported by: pj

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-15 14:14 svnbot         Checkin                                      
2008-08-15 14:14 svnbot         Note Added: 0091455                          
======================================================================




More information about the asterisk-bugs mailing list