forked from rpms/openssh
81d24c0aa7
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/openssh#a048fcc3d0920b13b79be801efbae08388212c5f
13 lines
463 B
Diff
13 lines
463 B
Diff
diff -up openssh-5.8p2/ssh-keyscan.c.sigpipe openssh-5.8p2/ssh-keyscan.c
|
|
--- openssh-5.8p2/ssh-keyscan.c.sigpipe 2011-08-23 18:30:33.873025916 +0200
|
|
+++ openssh-5.8p2/ssh-keyscan.c 2011-08-23 18:32:24.574025362 +0200
|
|
@@ -715,6 +715,8 @@ main(int argc, char **argv)
|
|
fdlim_set(maxfd);
|
|
fdcon = xcalloc(maxfd, sizeof(con));
|
|
|
|
+ signal(SIGPIPE, SIG_IGN);
|
|
+
|
|
read_wait_nfdset = howmany(maxfd, NFDBITS);
|
|
read_wait = xcalloc(read_wait_nfdset, sizeof(fd_mask));
|
|
|