]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_dahdi.c: Fix deadlock potential in fax redirection. 99/3299/1
authorRichard Mudgett <rmudgett@digium.com>
Tue, 19 Jul 2016 18:18:47 +0000 (13:18 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 21 Jul 2016 22:56:03 +0000 (17:56 -0500)
commit5efb5b38e846257ba9081d38ad6dcdab27a6f6f8
tree79466f62f26b4342e52ce7d87abadc54e0f6cab1
parenta1d36c89e05d0104ae3626eaefd3da1d022c8e26
chan_dahdi.c: Fix deadlock potential in fax redirection.

The dahdi_handle_dtmf() and my_handle_dtmf() have the potential to
deadlock if an incoming fax happens during the Playback or similar
application.

* Fixed the potential deadlock by not calling ast_async_goto() with the
channel lock held.

ASTERISK-26216 #close
Reported by: Richard Mudgett

Change-Id: I9144b84ade5f96690996624ec8a2d40c56af40aa
channels/chan_dahdi.c