]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_dahdi.c: Fix deadlock potential in fax redirection. 48/3248/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:27:32 +0000 (13:27 -0500)
commitdcb8aa8c1c1207a6ee0c8f9f158154254ab63ec8
tree3b9b56693be66cb6b99aac48e99e0920196b948e
parentfa91cf3eeca1ee3b2bdb5e3d685de7100702ff21
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