[openssh-commits] [openssh] 01/15: upstream: fix memleak when applying certificate options; ok
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Sep 15 16:13:40 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 efed5da4ced88170cf474246eff771dd16c7092f
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Mon Sep 15 04:38:00 2025 +0000
upstream: fix memleak when applying certificate options; ok
dtucker
OpenBSD-Commit-ID: 36c219dcc05f4df82a0f9c500bdf5dbfea925289
---
auth-options.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/auth-options.c b/auth-options.c
index 785a23990..90be7b02d 100644
--- a/auth-options.c
+++ b/auth-options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-options.c,v 1.101 2023/07/14 07:44:21 dtucker Exp $ */
+/* $OpenBSD: auth-options.c,v 1.102 2025/09/15 04:38:00 djm Exp $ */
/*
* Copyright (c) 2018 Damien Miller <djm at mindrot.org>
*
@@ -155,6 +155,7 @@ cert_option_list(struct sshauthopt *opts, struct sshbuf *oblob,
if (addr_match_cidr_list(NULL, allowed) == -1) {
error("Certificate source-address "
"contents invalid");
+ free(allowed);
goto out;
}
opts->required_from_host_cert = allowed;
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list