[asterisk-bugs] [JIRA] (ASTERISK-23726) Crash with while, switch and continue

Thiago Coutinho (JIRA) noreply at issues.asterisk.org
Wed May 7 15:47:43 CDT 2014


Thiago Coutinho created ASTERISK-23726:
------------------------------------------

             Summary: Crash with while, switch and continue
                 Key: ASTERISK-23726
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23726
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
    Affects Versions: 1.8.27.0
            Reporter: Thiago Coutinho


Just create the macro above 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