]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_dahdi.c: Fix deadlock potential in fax redirection. 52/3252/1
authorRichard Mudgett <rmudgett@digium.com>
Tue, 19 Jul 2016 18:18:47 +0000 (13:18 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 19 Jul 2016 18:31:51 +0000 (13:31 -0500)
commit3d62f317dd0f1fb8a919c03861f1b6f50ce6c0d7
treeee3cbf06528a73eb379d0d8a42f2a9bc11f5ac94
parentdb4979fa79bc3f5d754aa76816a39869132b10ca
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