|Summary:||ASTERISK-07600: Bug Collection for AEL|
|Reporter:||Steve Murphy (murf)||Labels:|
|Date Opened:||2006-08-24 21:07:44||Date Closed:||2006-08-25 15:47:47|
|Environment:||Attachments:||( 0) extensions.ael|
|Description:||1. a break, not in a switch or loop, results in segfault.|
2. an empty extension results in a segfault
3. aelparse compiles, but crashes due to loader updates.
****** STEPS TO REPRODUCE ******
try processing the attached testcase.
|Comments:||By: Steve Murphy (murf) 2006-08-25 08:03:48|
I've bumped across these problems;
By: Serge Vecher (serge-v) 2006-08-25 08:52:36
where is the bt, mister? And from non-optimized build, please ;)
By: Steve Murphy (murf) 2006-08-25 14:02:14
Uh, got 'em right here! But if you want to see 'em, it'd be quicker to just
download the testcase I attached, and ***try*** to process it. You won't get very far!
By: Steve Murphy (murf) 2006-08-25 14:07:27
In the future, an empty extension will generate a warning during the compile phase.
A semantic check will generate a hard error if a break isn't in a loop or switch case.
Another semantic check to generate a hard error for continue statements not in a loop.
The changes to loader required some changes in ael_main.c and pbx_ael.c; aelparse works again.
By: Steve Murphy (murf) 2006-08-25 15:47:47
These bugs are fixed, and the code merged into trunk with r. 41150. I'm closing this bug.