summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-01-11 17:20:05 +1100
committerDamien Miller <djm@mindrot.org>2011-01-11 17:20:05 +1100
commita256c8d680203b41c8c4c8f012c1edbc3cd72336 (patch)
tree7c3dcf97cefb39c80fea03fa010916bf57aef54e
parentb73b6fd916a842dbcf800c13434a6abb6cd06ade (diff)
- djm@cvs.openbsd.org 2011/01/11 06:06:09
[sshlogin.c] fd leak on error paths; from zinovik@ NB. Id sync only; we use loginrec.c that was also audited and fixed recently
-rw-r--r--ChangeLog5
-rw-r--r--sshlogin.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 828c6dee8..db8af51fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,11 @@
7 [clientloop.c] 7 [clientloop.c]
8 use host and not options.hostname, as the latter may have unescaped 8 use host and not options.hostname, as the latter may have unescaped
9 substitution characters 9 substitution characters
10 - djm@cvs.openbsd.org 2011/01/11 06:06:09
11 [sshlogin.c]
12 fd leak on error paths; from zinovik@
13 NB. Id sync only; we use loginrec.c that was also audited and fixed
14 recently
10 15
1120110109 1620110109
12 - (djm) [Makefile.in] list ssh_host_ecdsa key in PATHSUBS; spotted by 17 - (djm) [Makefile.in] list ssh_host_ecdsa key in PATHSUBS; spotted by
diff --git a/sshlogin.c b/sshlogin.c
index 33bd652fb..54629f747 100644
--- a/sshlogin.c
+++ b/sshlogin.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshlogin.c,v 1.26 2007/09/11 15:47:17 gilles Exp $ */ 1/* $OpenBSD: sshlogin.c,v 1.27 2011/01/11 06:06:09 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland