]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge_native_rtp: Fix crash involving masquerade
authorKinsey Moore <kmoore@digium.com>
Wed, 5 Mar 2014 19:21:39 +0000 (19:21 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 5 Mar 2014 19:21:39 +0000 (19:21 +0000)
commit9650cb5f882a7639e4ad704b687ab57f6b6a7fa5
tree70184e577843cde8110da80aa1bdbb1d1b950de3
parentfd375c623c652f37db2347af86156da2994ab564
bridge_native_rtp: Fix crash involving masquerade

It is possible for a channel to be masqueraded out of a bridge which
means it may no longer have RTP glue to check upon leaving said bridge.
If this situation occurred (it's possible at least during dial and call
pickup) then Asterisk would crash. This change makes sure the glue is
checked before use.

(closes issue AST-1290)
Reported by: John Bigelow

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@409900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
bridges/bridge_native_rtp.c