diff options
author | djm <djm> | 2008-02-10 11:23:18 +0000 |
---|---|---|
committer | djm <djm> | 2008-02-10 11:23:18 +0000 |
commit | 6e023c01d08221927ddc6c13ff498a17e34319c7 (patch) | |
tree | 3332eee4212c0c982efdc97eebeffa287c3ef1a3 /ssh.c | |
parent | df2dc41e4b23ac593f5721a86f1812e44d396f70 (diff) | |
download | openssh-6e023c01d08221927ddc6c13ff498a17e34319c7.tar.gz |
- djm@cvs.openbsd.org 2008/01/19 20:51:26
[ssh.c]
ignore SIGPIPE in multiplex client mode - we can receive this if the
server runs out of fds on us midway. Report and patch from
gregory_shively AT fanniemae.com
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: ssh.c,v 1.308 2007/11/03 02:03:49 deraadt Exp $ */ +/* $OpenBSD: ssh.c,v 1.309 2008/01/19 20:51:26 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -1393,6 +1393,8 @@ control_client(const char *path) if (options.forward_agent) flags |= SSHMUX_FLAG_AGENT_FWD; + signal(SIGPIPE, SIG_IGN); + buffer_init(&m); /* Send our command to server */ |