Files
asterisk/main
Richard Mudgett 640fbbbe28 features: Fix channel datastore access.
Found as a result of the testsuite tests/callparking test crashing.

Several calls to ast_get_chan_featuremap_config() and
ast_get_chan_features_xfer_config() did not lock the channel before
calling so the channel's datastore list was accessed without the lock's
protection.  Apparently another thread deleted a datastore on the
channel's list while the crashing thread was walking the list.  Crash at
0xdeaddead due to MALLOC_DEBUG's memory filler value as a result.

* Add missing channel locks to calls that were not already protected
as the doxygen for those calls indicates.

Change-Id: Id273b3d305cc616406c353cbc841b2b7655efaa1
2016-06-30 15:31:20 -05:00
..
2015-01-30 16:47:50 +00:00
2015-03-25 18:37:04 +00:00
2016-03-24 09:29:07 -05:00
2016-06-22 12:21:11 -05:00
2013-07-04 13:06:15 +00:00
2013-06-29 00:18:57 +00:00
2013-09-10 18:05:47 +00:00
2014-05-09 22:49:26 +00:00
2016-04-08 12:50:58 -06:00
2015-06-03 14:03:18 -05:00
2015-01-26 14:49:32 +00:00
2016-06-22 12:21:11 -05:00