[asterisk-bugs] [Asterisk 0011468]: IF() function crashes when using invalid syntax

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Dec 4 16:56:21 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11468 
====================================================================== 
Reported By:                jon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11468
Category:                   Functions/func_logic
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:            1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-04-2007 16:20 CST
Last Modified:              12-04-2007 16:56 CST
====================================================================== 
Summary:                    IF() function crashes when using invalid syntax
Description: 
The tests go fine until I tried something that is clearly invalid IF syntax
such as ${IF(0:false)} down at priority 11.

Those admins, always doing things they arn't supposed to...

Now, if you tried console dial 401 at local asterisk crashes.
When you do it from a phone asterisk does not crash until you do something
like 'show function IF'
====================================================================== 

---------------------------------------------------------------------- 
 jon - 12-04-07 16:56  
---------------------------------------------------------------------- 
Confirmed it was fixed in 1.4.14.

My apologies, I looked for an easy fix in the svn 1.4 branch instead of
the code that was actually in use... 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-04-07 16:56  jon            Note Added: 0074783                          
======================================================================




More information about the asterisk-bugs mailing list