diff options
author | 2008-01-19 20:48:53 +0000 | |
---|---|---|
committer | 2008-01-19 20:48:53 +0000 | |
commit | 203a57b1932481e52a3b7747618b54aa8ff06971 (patch) | |
tree | baab089055f99a1bd1dd55733b6b74a01794687b /usr.bin/ssh/clientloop.c | |
parent | scp -q implies ssh -q for the underlying connection, it doesn't just (diff) | |
download | wireguard-openbsd-203a57b1932481e52a3b7747618b54aa8ff06971.tar.xz wireguard-openbsd-203a57b1932481e52a3b7747618b54aa8ff06971.zip |
fd leak on session multiplexing error path. Report and patch from
gregory_shively AT fanniemae.com
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
-rw-r--r-- | usr.bin/ssh/clientloop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index 49513819500..3505086098e 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/clientloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.c,v 1.185 2007/12/28 22:34:47 dtucker Exp $ */ +/* $OpenBSD: clientloop.c,v 1.186 2008/01/19 20:48:53 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -880,6 +880,7 @@ client_process_control(fd_set *readset) xfree(cctx->env); xfree(cctx->term); buffer_free(&cctx->cmd); + close(client_fd); xfree(cctx); return; } |