]> 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:24:55 +0000 (00:24 +0000)
committerCorey Farrell <git@cfware.com>
Sat, 1 Feb 2014 00:24:55 +0000 (00:24 +0000)
commit9d66792866d97ed0d51357cec3c6a6cdb455ca25
tree85a7b665a46dd225f80b8cd31379d3ad526f59a8
parent3de88f99badd5908899f19b4f56e6d44d71e66ea
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
........

Merged revisions 407103 from http://svn.asterisk.org/svn/asterisk/branches/11

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