[asterisk-commits] mjordan: branch 11 r379092 - /branches/11/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 14 21:48:02 CST 2013


Author: mjordan
Date: Mon Jan 14 21:47:58 2013
New Revision: 379092

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=379092
Log:
Blocked revisions 379091

........
Prevent crash in ConfBridge due to race condition when channels leave bridge

When a channel leaves a bridge, a race condition existed where the
bridge_channel's pvt structure would be accessed after it was disposed of.
This patch prevents that by setting the pointer to the pvt to NULL prior
to disposing of it.

Note that this patch is a backport from Asterisk 10. This particular race
condition was fixed as part of the larger code rework that occurred for that
release.

The solution to this problem was pointed out by Gunnar Harms in ASTERISK-16640.

(closes issue ASTERISK-16640)
Reported by: thomas987

(closes issue ASTERISK-16835)
Reported by: saghul

Modified:
    branches/11/   (props changed)

Propchange: branches/11/
------------------------------------------------------------------------------
    branch-1.8-blocked = /branches/1.8:379091




More information about the asterisk-commits mailing list