]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Use locking when accessing the registrations list. This list is not actually
authorRussell Bryant <russell@russellbryant.com>
Sat, 9 Dec 2006 15:45:37 +0000 (15:45 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 9 Dec 2006 15:45:37 +0000 (15:45 +0000)
commitf2df4138cb97c58861d6392bbbe3a8b8fcdf51ee
treed034acd6ff92286bd3c3cb7e9e47bd1b6e87a406
parentd79533bd94ebe1782accaf6ce1090d5e2a1e526d
Use locking when accessing the registrations list.  This list is not actually
used very often, so the likelihood of there being a problem is pretty small,
but still possible.  For example, if the CLI command to list the registrations
was called at the same time that a reload was occurring and the registrations
list was getting destroyed and rebuilt, a crash could occur.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@48361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_iax2.c