]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge_builtin_features: Add missing channel locks around ast_get_chan_features_gener...
authorRichard Mudgett <rmudgett@digium.com>
Tue, 28 Oct 2014 21:16:21 +0000 (21:16 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 28 Oct 2014 21:16:21 +0000 (21:16 +0000)
commitcfa8d01e2a8de2d0a4bdfd8a9f86241b75ec27a7
tree29e9d19152634e3162f61b8f78a9438752d4ef50
parent6c96ec7379761f7b5fe3776239dcd5f0d82d9625
bridge_builtin_features: Add missing channel locks around ast_get_chan_features_general_config().

The feature_automonitor() and feature_automixmonitor() functions were not
locking the channel around ast_get_chan_features_general_config().
Accessing the channel datastore list without the channel locked is a good
way to corrupt the list or follow the pointer chain into oblivion.

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