]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
Increment nfds when coming from startup_pipe. V_8_7 anongit/V_8_7 github-selfhosted/V_8_7 github/V_8_7
authorDarren Tucker <dtucker@dtucker.net>
Wed, 8 Sep 2021 08:39:44 +0000 (18:39 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Wed, 8 Sep 2021 08:44:45 +0000 (18:44 +1000)
commit7e6bd78999853f09ba8fb2dcf73f84a27f4043af
tree9a57c5e9e682066734271166684ca68c18777c8d
parent2aa68e1e08348dc41ff1b708a3e29e7a6ab1da94
Increment nfds when coming from startup_pipe.

If we have to increase nfds because startup_pipe[0] is above any of the
descriptors passed in the fd_sets, we also need to add 1 to nfds since
select takes highest FD number plus one.  bz#3345 from yaroslav.kuzmin
at vmssoftware.com.
openbsd-compat/bsd-pselect.c