]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Prevent chanspy from binding to zombie channels
authorJonathan Rose <jrose@digium.com>
Fri, 16 Mar 2012 20:13:56 +0000 (20:13 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 16 Mar 2012 20:13:56 +0000 (20:13 +0000)
commit698cd736b65ebb8b02edf361c9c42885fe588e41
tree81db100bba9ede0b02805fda1fa2b82c1f26d128
parent1ded276c97a8a06cb3504c5bf541cfd1df88c160
Prevent chanspy from binding to zombie channels

This patch addresses a bug with chanspy on local channels which roughly 50% of the time
would create a situation where chanspy can latch onto a zombie channel, keeping the zombie
alive forever and causing the channel doing the spying to never be able to hang up.

(closes issue ASTERISK-19493)
Reported by: lvl
Review: https://reviewboard.asterisk.org/r/1819/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@359892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_chanspy.c