]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: Check fd against >=0 instead of >0 in error path. The
authordtucker@openbsd.org <dtucker@openbsd.org>
Fri, 31 Mar 2023 00:44:29 +0000 (00:44 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 31 Mar 2023 04:06:19 +0000 (15:06 +1100)
commit0eb8131e4a53b33a8fc9b9ab694e6b6778b87ade
treef14c694d195b0f12a8f55d812d479dc45ab440ee
parent7174ba6f8a431ca4257767a260fc50e204068242
upstream: Check fd against >=0 instead of >0 in error path. The

dup could in theory return fd 0 although currently it doesn't in practice.
From Dmitry Belyavskiy vi github PR#238.

OpenBSD-Commit-ID: 4a95f3f7330394dffee5c749d52713cbf3b54846
monitor_wrap.c