Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/openssh/dist CID 1356386: Don't leak sock
details: https://anonhg.NetBSD.org/src/rev/b0e59e588a03
branches: trunk
changeset: 344191:b0e59e588a03
user: christos <christos%NetBSD.org@localhost>
date: Wed Mar 16 21:00:37 2016 +0000
description:
CID 1356386: Don't leak sock
diffstat:
crypto/external/bsd/openssh/dist/sshconnect.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 2c47fefc314a -r b0e59e588a03 crypto/external/bsd/openssh/dist/sshconnect.c
--- a/crypto/external/bsd/openssh/dist/sshconnect.c Wed Mar 16 20:57:46 2016 +0000
+++ b/crypto/external/bsd/openssh/dist/sshconnect.c Wed Mar 16 21:00:37 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sshconnect.c,v 1.16 2016/03/11 01:55:00 christos Exp $ */
+/* $NetBSD: sshconnect.c,v 1.17 2016/03/16 21:00:37 christos Exp $ */
/* $OpenBSD: sshconnect.c,v 1.271 2016/01/14 22:56:56 markus Exp $ */
/*
@@ -16,7 +16,7 @@
*/
#include "includes.h"
-__RCSID("$NetBSD: sshconnect.c,v 1.16 2016/03/11 01:55:00 christos Exp $");
+__RCSID("$NetBSD: sshconnect.c,v 1.17 2016/03/16 21:00:37 christos Exp $");
#include <sys/param.h> /* roundup */
#include <sys/types.h>
#include <sys/param.h>
@@ -1552,4 +1552,6 @@
debug("identity added to agent: %s", authfile);
else
debug("could not add identity to agent: %s (%d)", authfile, r);
+
+ close(auth_sock);
}
Home |
Main Index |
Thread Index |
Old Index