Files
asterisk/main
Richard Mudgett 02234e920c rtp_engine.c: Fix deadlock potential copying RTP payload maps.
There is a theoretical potential to deadlock in
ast_rtp_codecs_payloads_copy() because it locks two different
ast_rtp_codecs locks.  It is theoretical because the callers of the
function are either copying between a local ast_rtp_codecs struct and a
RTP instance of the ast_rtp_codecs struct.  Or they are copying between
the caller and callee channel RTP instances before initiating the call to
the callee.  Neither of these situations could actually result in a
deadlock because there cannot be another thread involved at the time.

* Add deadlock avoidance code to ast_rtp_codecs_payloads_copy() since it
locks two ast_rtp_codecs locks to perform a copy.

This only affects v13 since this deadlock avoidance code is already in
newer branches.

Change-Id: I1aa0b168f94049bd59bbd74a85bd1e78718f09e5
2017-04-29 18:12:49 -05:00
..
2015-01-30 16:47:50 +00:00
2015-03-25 18:37:04 +00:00
2016-06-22 12:21:11 -05:00
2016-08-24 11:02:47 -05:00
2016-07-14 15:54:21 -05:00
2016-08-24 11:02:47 -05:00
2016-08-24 11:02:47 -05:00
2016-11-01 12:37:58 -05:00
2015-01-26 14:49:32 +00:00