[Home]

Summary:ASTERISK-07881: AEL2 - causes segfault when an exten defined in extensions.ael2 is followed by an empty block
Reporter:Stephen Kratzer (kratzers)Labels:
Date Opened:2006-10-05 11:41:39Date Closed:2006-10-05 15:37:04
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:PBX/pbx_ael
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Something like the following will cause aelparse to segfault and asterisk to produce a core dump.

context test_segfault {
       1234 => {  //will segfault }
}

****** ADDITIONAL INFORMATION ******

running Asterisk SVN 1.2 patched against http://svn.digium.com/svn/asterisk/team/murf/AEL2-1.2 rev
Comments:By: Steve Murphy (murf) 2006-10-05 13:37:24

kratzers-- are you in luck! I've been fixing these bugs over the last couple days! And, it's already done. At least, in 1.4, and trunk. I will form a 1.2 version for ael2 and write when it's ready. It'll take a few minutes, as there's a bit of an accumulation since last I updated!

By: Steve Murphy (murf) 2006-10-05 15:35:32

kratzers: I've just committed all my changes to

http://svn.digium.com/svn/asterisk/team/murf/AEL2-1.2

as revision 44517.

You should be able to either check out that branch, and run, or generate a patch
via

svn diff http://svn.digium.com/svn/asterisk/branches/1.2 http://svn.digium.com/svn/asterisk/team/murf/AEL2-1.2

Let me know if you have any trouble. The regressions look good... so I'll resolve and close this bug...

By: Steve Murphy (murf) 2006-10-05 15:36:16

see rev 44517.

By: Steve Murphy (murf) 2006-10-05 15:37:03

The 1.2 AEL2 branch has been updated. Time to close this problem.