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

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


The following issue has been UPDATED. 
====================================================================== 
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:                     closed
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:              
Resolution:                 duplicate
Duplicate:                  0
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-05-31 22:50 CDT
Last Modified:              2010-06-01 09:25 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...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-01 09:25 pabelanger     Status                   new => closed       
2010-06-01 09:25 pabelanger     Resolution               open => duplicate   
======================================================================




More information about the asterisk-bugs mailing list