]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - openssh/patches/openssh-5.8p2-sigpipe.patch
Merge remote-tracking branch 'maniacikarus/samba'
[people/pmueller/ipfire-3.x.git] / openssh / patches / openssh-5.8p2-sigpipe.patch
1 diff -up openssh-5.8p2/ssh-keyscan.c.sigpipe openssh-5.8p2/ssh-keyscan.c
2 --- openssh-5.8p2/ssh-keyscan.c.sigpipe 2011-08-23 18:30:33.873025916 +0200
3 +++ openssh-5.8p2/ssh-keyscan.c 2011-08-23 18:32:24.574025362 +0200
4 @@ -715,6 +715,8 @@ main(int argc, char **argv)
5 fdlim_set(maxfd);
6 fdcon = xcalloc(maxfd, sizeof(con));
7
8 + signal(SIGPIPE, SIG_IGN);
9 +
10 read_wait_nfdset = howmany(maxfd, NFDBITS);
11 read_wait = xcalloc(read_wait_nfdset, sizeof(fd_mask));
12