]> git.ipfire.org Git - thirdparty/asterisk.git/commit
If the sip private structure is null, sip_setoption() will defref the null pointer...
authorMark Murawki <markm@intellasoft.net>
Mon, 18 Jul 2011 12:35:57 +0000 (12:35 +0000)
committerMark Murawki <markm@intellasoft.net>
Mon, 18 Jul 2011 12:35:57 +0000 (12:35 +0000)
commit58a56845a642e5436fe82dde241ccda51cd728c0
tree637bdf109d99f3e0d785c81dc26668106e3b7fac
parente739fd42fc6a6537407e12f625771519144737db
If the sip private structure is null, sip_setoption() will defref the null pointer and crash.

Ideally, sip_setoption shouldn't be called if there is a lack of a sip private structure.  But this will fix a crash.

(closes issue ASTERISK-17909)
Reported by: Mark Murawski
Tested by: Mark Murawski

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@328608 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c