Merged revisions 150298,150301 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Thu, 16 Oct 2008 23:36:49 +0000 (23:36 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 16 Oct 2008 23:36:49 +0000 (23:36 +0000)
commit8a1d9d16785ce9c028492b13599751821d160d48
tree92bddde8704e6191ce5420af02f2495ccfdacdfa
parent270a2b6a6109f0eaa4eebcfbfa886c09606973bd
Merged revisions 150298,150301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r150298 | mmichelson | 2008-10-16 18:34:37 -0500 (Thu, 16 Oct 2008) | 10 lines

Don't try to call a dialplan function's read callback from
the manager's GetVar handler if an invalid channel has
been specified. Several dialplan functions, including
CHANNEL and SIP_HEADER, do not check for NULL-ness of
the channel being passed in.

(closes issue #13715)
Reported by: makoto

........
r150301 | mmichelson | 2008-10-16 18:35:07 -0500 (Thu, 16 Oct 2008) | 3 lines

And don't forget to return on the error condition

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/manager.c