[asterisk-bugs] [Asterisk 0011111]: RaiseException() wrapped by ExecIf() causes segfault

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Oct 30 08:14:31 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11111 
====================================================================== 
Reported By:                blitzrage
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11111
Category:                   Core/PBX
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!): 87498 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-29-2007 21:36 CDT
Last Modified:              10-30-2007 08:14 CDT
====================================================================== 
Summary:                    RaiseException() wrapped by ExecIf() causes segfault
Description: 
The following line will cause a segmentation fault:

exten =>
s,n,ExecIf($[${DB_EXISTS(extensions/${EXTENSION}/technology)}]Set(LOCAL(TECH)=${DB_RESULT}):RaiseException(INVALID))

No such segfault occurs when RaiseException() is called unwrapped.
====================================================================== 

---------------------------------------------------------------------- 
 russell - 10-30-07 08:14  
---------------------------------------------------------------------- 
FWIW, it looks like you're missing some |'s in there.  You're not using the
right args format, but of course, it still shouldn't crash. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-30-07 08:14  russell        Note Added: 0072714                          
======================================================================




More information about the asterisk-bugs mailing list