]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Prevent a crash on outbound SIP MESSAGE requests.
authorMark Michelson <mmichelson@digium.com>
Wed, 21 Aug 2013 14:33:38 +0000 (14:33 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 21 Aug 2013 14:33:38 +0000 (14:33 +0000)
commit91e91f9660e700a53eb6fd102b688ca87e647445
treef0d289bcee2465d3596304ac400c25d085444178
parentc02b93e70631bf28d10b74254572493dd941ee4f
Prevent a crash on outbound SIP MESSAGE requests.

If a From header on an outbound out-of-call SIP MESSAGE were
malformed, the result could crash Asterisk.

In addition, if a From header on an incoming out-of-call SIP
MESSAGE request were malformed, the message was happily accepted
rather than being rejected up front. The incoming message path
would not result in a crash, but the behavior was bad nonetheless.

(closes issue ASTERISK-22185)
reported by Zhang Lei

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