[openssh-commits] [openssh] 02/07: upstream: ignore SIGPIPE here; some downstreams have had this for
git+noreply at mindrot.org
git+noreply at mindrot.org
Sat Dec 7 21:24:04 AEDT 2024
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 5488810359f0fd91e2f7b919c70a3798e46376cb
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Fri Dec 6 15:17:15 2024 +0000
upstream: ignore SIGPIPE here; some downstreams have had this for
years...
OpenBSD-Commit-ID: 73674ee4f8ceb8fc9cb8de71d8ddea0c721eb035
---
ssh-keyscan.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index 2a9f47a8..3436c0b5 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keyscan.c,v 1.164 2024/10/18 05:32:51 djm Exp $ */
+/* $OpenBSD: ssh-keyscan.c,v 1.165 2024/12/06 15:17:15 djm Exp $ */
/*
* Copyright 1995, 1996 by David Mazieres <dm at lcs.mit.edu>.
*
@@ -802,6 +802,7 @@ main(int argc, char **argv)
for (j = 0; j < maxfd; j++)
read_wait[j].fd = -1;
+ ssh_signal(SIGPIPE, SIG_IGN);
for (j = 0; j < fopt_count; j++) {
if (argv[j] == NULL)
fp = stdin;
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list