[asterisk-bugs] [Asterisk 0016053]: Crash on deeply nested while/if statements in AEL
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Jun 20 08:02:18 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16053
======================================================================
Reported By: diLLec
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16053
Category: PBX/pbx_ael
Reproducibility: always
Severity: crash
Priority: normal
Status: closed
Asterisk Version: 1.6.1.6
JIRA: SWP-1414
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-10-11 17:49 CDT
Last Modified: 2010-06-20 08:02 CDT
======================================================================
Summary: Crash on deeply nested while/if statements in AEL
Description:
While reloading ael via ael reload the asterisk process runs into SIGSEGV.
This bug is curios since Asterisk starts and loads the ael very well. Also
if ael reload is typed in at the cli when starting Asterisk with -c is
working fine.
The issue only shows up when using asterisk manager or asterisk -r.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
has duplicate 0017430 segfault in for loop embedded switch st...
======================================================================
----------------------------------------------------------------------
(0123636) mvanbaak (manager) - 2010-06-20 08:02
https://issues.asterisk.org/view.php?id=16053#c123636
----------------------------------------------------------------------
This one seriously breaks asterisk.
I have this in my extensions.ael:
if ( "${CALLERID(num):0:2}" = "31" ) {
Set(CALLERID(num)=0${CALLERID(num):2});
}
and it gets loaded as:
4. GotoIf($[ "${C?5:6) [pbx_ael]
5. Set(CALLERID(num)=0${CALLERID(num):2}) [pbx_ael]
6. NoOp(Finish ) [pbx_ael]
Issue History
Date Modified Username Field Change
======================================================================
2010-06-20 08:02 mvanbaak Note Added: 0123636
======================================================================
More information about the asterisk-bugs
mailing list