]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Race condition between ast_cli_command() and 'module unload' could cause a deadlock.
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 9 Apr 2009 18:08:20 +0000 (18:08 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 9 Apr 2009 18:08:20 +0000 (18:08 +0000)
commit34672a391989350a7bb725c94041aeaf174e36c8
tree3b5ef6bff93ccde619c1efe0652a0c16a0fa8480
parent1cb43cfa75a572c3b4f853f8e6885f4e64d3cac4
Race condition between ast_cli_command() and 'module unload' could cause a deadlock.
Add lock timeouts to avoid this potential deadlock.
(closes issue #14705)
 Reported by: jamessan
 Patches:
       20090320__bug14705.diff.txt uploaded by tilghman (license 14)
 Tested by: jamessan

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@187428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/lock.h
main/manager.c