[openssh-commits] [openssh] branch master updated: upstream: unreachable POLLERR case; from ya0guang via GHPR485
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Oct 18 15:15:51 AEDT 2024
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
The following commit(s) were added to refs/heads/master by this push:
new a9d6d7d9 upstream: unreachable POLLERR case; from ya0guang via GHPR485
a9d6d7d9 is described below
commit a9d6d7d93c533fa729f08b405e786d912553f33e
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Fri Oct 18 04:14:59 2024 +0000
upstream: unreachable POLLERR case; from ya0guang via GHPR485
OpenBSD-Commit-ID: b3c82655190532b01eb817e532742cfaa4687eff
---
ssh-keyscan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index 254e9178..941fa512 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keyscan.c,v 1.162 2024/09/20 02:00:46 jsg Exp $ */
+/* $OpenBSD: ssh-keyscan.c,v 1.163 2024/10/18 04:14:59 djm Exp $ */
/*
* Copyright 1995, 1996 by David Mazieres <dm at lcs.mit.edu>.
*
@@ -588,7 +588,7 @@ conloop(void)
for (i = 0; i < maxfd; i++) {
if (read_wait[i].revents & (POLLHUP|POLLERR|POLLNVAL))
confree(i);
- else if (read_wait[i].revents & (POLLIN|POLLHUP))
+ else if (read_wait[i].revents & (POLLIN))
conread(i);
}
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list