diff options
author | Richard Mudgett <rmudgett@digium.com> | 2016-08-22 12:31:24 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2016-08-25 17:11:17 -0500 |
commit | a53aebabbc182154153e955640b534d67b8648d3 (patch) | |
tree | f92ecc5cb813308226210630d34e8e6ab6aa9b50 /pbx | |
parent | a6448b01a27ad3fb54763933dca9e7ed542bccc8 (diff) |
res_fax.c: Fix deadlock in fax_gateway_indicate_t38().
fax_gateway_indicate_t38() calls ast_indicate_data() which cannot be
called with any channel locks already held. A deadlock can happen if the
function is operating on a local channel.
* Made fax_gateway_indicate_t38() unlock the channel before calling
ast_indicate_data() since fax_gateway_indicate_t38() is always called with
the channel locked.
* Made fax_gateway_indicate_t38() return void since nothing cared about
its return value.
ASTERISK-26203
Reported by: Etienne Lessard
ASTERISK-24822
Reported by: David Brillert
ASTERISK-22732
Reported by: Richard Mudgett
Change-Id: I701ff2d26c5fc23e0d5a48a3fd98759a9fd09407
Diffstat (limited to 'pbx')
0 files changed, 0 insertions, 0 deletions