mirror of https://github.com/asterisk/asterisk
Numerous isues have been reported for deadlocks that are caused by a blocking read in res_timing_timerfd on a file descriptor that will never be written to. This patch adds some checks to make sure that the timerfd is both valid and armed before calling read(). Should fix: ASTERISK-18142, ASTERISK-18197, ASTERISK-18166, AST-486 AST-495, AST-507 and possibly others. Review: https://reviewboard.asterisk.org/r/1361/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@332320 65c4cc65-6c06-0410-ace0-fbb531ad65f3certified/1.8.11
parent
9328590ddb
commit
a9db588064
Loading…
Reference in new issue