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

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Oct 30 08:17:27 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:17 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:17  
---------------------------------------------------------------------- 
Oh, you're using trunk.  Then, you were just missing a "?".  :) 

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




More information about the asterisk-bugs mailing list