[asterisk-bugs] [JIRA] (ASTERISK-23220) STACK_PEEK function with no arguments causes crash/core dump

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Mar 28 13:54:28 CDT 2014


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

Matt Jordan updated ASTERISK-23220:
-----------------------------------

    Target Release Version/s: 11.9.0

> STACK_PEEK function with no arguments causes crash/core dump
> ------------------------------------------------------------
>
>                 Key: ASTERISK-23220
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23220
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_stack
>    Affects Versions: 11.4.0
>         Environment: Centos 6.4, amd64
>            Reporter: James Sharp
>      Target Release: 1.8.27.0, 11.9.0, 12.1.0
>
>         Attachments: ASTERISK-23220.patch
>
>
> When setting up to use STACK_PEEK, I inadvertently left the arguments out of the dialplan.  When the dialplan reached this point in execution, Asterisk crashed with a core.  I realize that it was my error in the configuration, but I feel the system should flag an error rather than crash in a blaze of core dumps.  If this is a true bug, I can rebuild the system with DONT_OPTIMIZE to get a full backtrack.
> The offending dialplan entry is this:
> {noformat}
> exten => 9998,1,Set(FOO=${STACK_PEEK()})
> {noformat}



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



More information about the asterisk-bugs mailing list