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

Thiago Coutinho (JIRA) noreply at issues.asterisk.org
Thu May 8 07:11:43 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thiago Coutinho updated ASTERISK-23726:
---------------------------------------

    Description: 
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.

  was:
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.


> 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 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