]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_stack: protect against missing parameters to STACK_PEEK and LOCAL_PEEK
authorCorey Farrell <git@cfware.com>
Sat, 1 Feb 2014 00:23:42 +0000 (00:23 +0000)
committerCorey Farrell <git@cfware.com>
Sat, 1 Feb 2014 00:23:42 +0000 (00:23 +0000)
commit3e94a9925c65f790361523dc54cd9cd059bf137a
tree9af0c6246cc3be76bd464e706b01933b8ce5aedf
parent2bbbf8560116747a51b11887153719bf6a1f8330
app_stack: protect against missing parameters to STACK_PEEK and LOCAL_PEEK

STACK_PEEK requires 2 parameters and LOCAL_PEEK requires 1 parameter.  This
protects against situations where those parameters are blank or missing by
logging an error and returning.

(closes issue ASTERISK-23220)
Reported by: James Sharp
........

Merged revisions 407100 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@407103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_stack.c