]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Blocked revisions 409524
authorKinsey Moore <kmoore@digium.com>
Tue, 4 Mar 2014 15:39:43 +0000 (15:39 +0000)
committerKinsey Moore <kmoore@digium.com>
Tue, 4 Mar 2014 15:39:43 +0000 (15:39 +0000)
commit476bb7222bc2d929ec2f116d669dcff19d0b7add
tree73c0566c175af3ea6ae7b17646927f27973917f3
parent7a11156543f9bfb31fe30386cca98c0e5063c8ea
Blocked revisions 409524

........
rtp_engine: Clean up after a failed remote bridge

Upon failure of an INVITE transaction meant to initiate a remote native
bridge, rtp_engine.c would not clean up non-reference-counted bridge
instance pointers leaving a dangling pointer which was being used to
perform a local native bridge after the other channel had hung up. This
lead to dereferencing into freed memory and plenty of AO2 errors. This
change allows the remote native bridge loop to clean up properly when
the bridge fails.

(closes issue ASTERISK-23310)
Reported by: Jeremy Laine
........

Merged revisions 409521 from http://svn.asterisk.org/svn/asterisk/branches/1.8

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