diff options
author | Richard Mudgett <rmudgett@digium.com> | 2017-08-18 17:37:12 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2017-08-22 11:57:21 -0500 |
commit | 02044e6470682a2ebe790c3181af7d82ee369c8f (patch) | |
tree | 74c5dc2394d96b7e0534f14a52e6fc1aaafa4d2d /main | |
parent | 3e9cd53b5cfd41cd1d5e14d4e5a690c3633e2bd3 (diff) |
res_pjsip_session.c: Fix crash when declining an active stream.
If a previously active stream is declined we could crash because the
channel's thread is still using the stream while we are updating the
topology in the serializer thread.
* Defer removing any declined stream's handler until we have blocked the
channel's thread with the channel lock.
ASTERISK-27212
Change-Id: I50e1d3ef26f8e41948f4c411ee329aa3b960a420
Diffstat (limited to 'main')
0 files changed, 0 insertions, 0 deletions