[asterisk-bugs] [Asterisk 0017430]: segfault in for loop embedded switch statement

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 1 09:24:56 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17430 
====================================================================== 
Reported By:                var
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17430
Category:                   PBX/pbx_ael
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.7 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-31 22:50 CDT
Last Modified:              2010-06-01 09:24 CDT
====================================================================== 
Summary:                    segfault in for loop embedded switch statement
Description: 
In extensions.ael, when utilising a for loop and an embedded switch
statement, it is possible to cause a segmentation fault loading Asterisk
(or aelparse) when trying to 'continue;' or 'break;' the for loop within
the switch statement.

This seems to be a conditional sort of bug, it seems to segfault more on
'continue;' than 'break;', but it can pass some switch based 'break;'
executions. This has been reproduced on 1.6.2.7 and 1.6.1.14 on separate
computers.

Debian 5.0.4 x86
Ubuntu 10.04 x86
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0016053 Crash on deeply nested while/if stateme...
====================================================================== 

---------------------------------------------------------------------- 
 (0122684) pabelanger (manager) - 2010-06-01 09:24
 https://issues.asterisk.org/view.php?id=17430#c122684 
---------------------------------------------------------------------- 
Thanks for the bug report. This particular bug has already been reported
into our bug tracking system, but please feel free to report any further
bugs you find. Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-01 09:24 pabelanger     Note Added: 0122684                          
======================================================================




More information about the asterisk-bugs mailing list