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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Dec 18 10:28:07 CST 2017


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

Joshua Colp updated ASTERISK-23726:
-----------------------------------

    Affects Version/s: 13.18.4

> AEL crash with while, switch and continue, (in add_extensions at ael/pval.c )
> -----------------------------------------------------------------------------
>
>                 Key: ASTERISK-23726
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23726
>             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, 13.18.4
>            Reporter: Thiago Coutinho
>         Attachments: backtrace.txt
>
>
> 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