[openssh-commits] [openssh] 02/02: upstream: minor leak of fingerprint text when printing

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Sep 15 18:04:38 AEST 2026


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 2eff38e46faddf19cba5d206a2e5bd2e6db607a2
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Tue Sep 15 08:00:01 2026 +0000

    upstream: minor leak of fingerprint text when printing
    
    certificates. bz3997 from Ekaterina Esina
    
    OpenBSD-Commit-ID: a837c2e113b42df3d58c9db783d2992f1ba1f0e0
---
 ssh-keygen.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ssh-keygen.c b/ssh-keygen.c
index 4231487a6..5c2d645ac 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keygen.c,v 1.495 2026/09/08 02:55:58 djm Exp $ */
+/* $OpenBSD: ssh-keygen.c,v 1.496 2026/09/15 08:00:01 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo at cs.hut.fi>
  * Copyright (c) 1994 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -2178,6 +2178,8 @@ print_cert(struct sshkey *key)
 		printf("\n");
 		show_options(key->cert->extensions, 0);
 	}
+	free(key_fp);
+	free(ca_fp);
 }
 
 static void

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list