[openssh-commits] [openssh] 13/15: upstream: leak of principals file lines; ok dtucker@

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Sep 15 16:13:52 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 52f38c76fcb38dfe619d8caa3bb4bb782c785026
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Mon Sep 15 04:52:41 2025 +0000

    upstream: leak of principals file lines; ok dtucker@
    
    OpenBSD-Commit-ID: 918bf1b70e5a969059300f3c23d45911690d9015
---
 sshsig.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sshsig.c b/sshsig.c
index 3da005d62..d84004ca9 100644
--- a/sshsig.c
+++ b/sshsig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshsig.c,v 1.38 2025/02/18 08:02:48 djm Exp $ */
+/* $OpenBSD: sshsig.c,v 1.39 2025/09/15 04:52:41 djm Exp $ */
 /*
  * Copyright (c) 2019 Google LLC
  *
@@ -1123,6 +1123,7 @@ sshsig_match_principals(const char *path, const char *principal,
 		linesize = 0;
 	}
 	fclose(f);
+	free(line);
 
 	if (ret == 0) {
 		if (nprincipals == 0)

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


More information about the openssh-commits mailing list