]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: fix poll() spin when a channel's output fd closes without
authordjm@openbsd.org <djm@openbsd.org>
Wed, 30 Mar 2022 21:10:25 +0000 (21:10 +0000)
committerDamien Miller <djm@mindrot.org>
Wed, 30 Mar 2022 21:16:38 +0000 (08:16 +1100)
commitd6556de1db0822c76ba2745cf5c097d9472adf7c
tree15e55e996842e9b5944a4bbf513e0710d5c48633
parent8a74a96d25ca4d32fbf298f6c0ac5a148501777d
upstream: fix poll() spin when a channel's output fd closes without

data in the channel buffer. Introduce more exact packing of channel fds into
the pollfd array. fixes bz3405 and bz3411; ok deraadt@ markus@

OpenBSD-Commit-ID: 06740737849c9047785622ad5d472cb6a3907d10
channels.c
channels.h