]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Ensure entering T.38 passthrough does not cause an infinite loop
authorKinsey Moore <kmoore@digium.com>
Thu, 2 Feb 2012 22:26:50 +0000 (22:26 +0000)
committerKinsey Moore <kmoore@digium.com>
Thu, 2 Feb 2012 22:26:50 +0000 (22:26 +0000)
commitea4fa3227f65b94599f69b9a60a85291569ffaee
tree8cab775ef563a66e1fdf570b7727706f412d1675
parentc5fc58c3a0b1f4a6b034f6bafbeab041ab544f54
Ensure entering T.38 passthrough does not cause an infinite loop

After R340970 Asterisk was still polling the RTCP file descriptor after RTCP is
shut down and removed. If the descriptor happened to have data ready when the
removal occured then Asterisk would go into an infinite loop trying to read
data that it can never actually access. This change disables the audio RTCP
file descriptor for the duration of the T.38 transaction.

(closes issue ASTERISK-18951)
Reported-by: Kristijan Vrban
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@353915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c