Merged revisions 181423 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Wed, 11 Mar 2009 21:49:29 +0000 (21:49 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 11 Mar 2009 21:49:29 +0000 (21:49 +0000)
commit29cfabf335e2c50e2bc54549efb81d1d755a99f8
tree9cd7e26636f14e79a0308cf754fbde98f95ef5b4
parent5f476b60856bce71fc85189272963569774524ed
Merged revisions 181423 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r181423 | russell | 2009-03-11 16:42:58 -0500 (Wed, 11 Mar 2009) | 9 lines

Make code that updates BRIDGEPEER variable thread-safe.

It is not safe to read the name field of an ast_channel without the channel
locked.  This patch fixes some places in channel.c where this was being done,
and lead to crashes related to masquerades.

(closes issue #14623)
Reported by: guillecabeza

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@181424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/channel.c