[openssh-commits] [openssh] 10/15: upstream: memleak of certificate path; ok dtucker@
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Sep 15 16:13:49 AEST 2025
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit ee99f6e93e0ee90eedbd27ffb9b7f9fef7b98010
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Mon Sep 15 04:50:42 2025 +0000
upstream: memleak of certificate path; ok dtucker@
OpenBSD-Commit-ID: 90dc5390f2756ba339e2e6df54d4b8651d64c1e7
---
ssh.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ssh.c b/ssh.c
index 58cfedf6d..f4524e384 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh.c,v 1.617 2025/09/04 00:29:09 djm Exp $ */
+/* $OpenBSD: ssh.c,v 1.618 2025/09/15 04:50:42 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -2468,6 +2468,7 @@ load_public_identity_files(const struct ssh_conn_info *cinfo)
free(cp);
continue;
}
+ free(cp);
/* NB. leave filename pointing to private key */
identity_files[n_ids] = xstrdup(filename);
identity_keys[n_ids] = public;
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list