[asterisk-bugs] [JIRA] (ASTERISK-23728) AEL crash with while, switch and continue, (in add_extensions at ael/pval.c )

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu May 8 09:31:44 CDT 2014


Rusty Newton created ASTERISK-23728:
---------------------------------------

             Summary: AEL crash with while, switch and continue, (in add_extensions at ael/pval.c )
                 Key: ASTERISK-23728
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23728
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: PBX/pbx_ael
    Affects Versions: SVN, 1.8.27.0, 11.9.0, 12.2.0
            Reporter: Thiago Coutinho


Just create the macro below in extensions.ael:

{code}
macro test() {
    while (1) {
        switch(a) {
            case foo:
                continue;
                break;
            default:
                break;
        }
    }
    return;
}
{code}

If you comment the "continue" statement the code works.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list