[asterisk-bugs] [JIRA] (ASTERISK-23220) STACK_PEEK function with no arguments causes crash/core dump
James Sharp (JIRA)
noreply at issues.asterisk.org
Thu Jan 30 02:39:03 CST 2014
James Sharp created ASTERISK-23220:
--------------------------------------
Summary: 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
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:
exten => 9998,1,Set(FOO=${STACK_PEEK()})
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list