bridge_builtin_features: Add missing channel locks around ast_get_chan_features_gener...
authorRichard Mudgett <rmudgett@digium.com>
Tue, 28 Oct 2014 21:35:41 +0000 (21:35 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 28 Oct 2014 21:35:41 +0000 (21:35 +0000)
commit0ed8aebda9a72509d342f362481222bad4ce5575
treef644dc3ab76d63980976eddef298d760da520a35
parent7205d76d7d001b61afcb5466410a3892cdcc6047
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.
........

Merged revisions 426531 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 426552 from http://svn.asterisk.org/svn/asterisk/branches/13

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