[openssh-commits] [openssh] 02/15: upstream: when merging auth options into the active set, don't
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Sep 15 16:13:41 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 03872018c14ed943bc01a4e88be59195a742f106
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Mon Sep 15 04:39:15 2025 +0000
upstream: when merging auth options into the active set, don't
leak the old struct sshauthopt; ok dtucker@
OpenBSD-Commit-ID: c6bfd7bc2932e37f811b3c53272c3b919d33e75b
---
auth.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/auth.c b/auth.c
index 4f772fafd..8d9404743 100644
--- a/auth.c
+++ b/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.162 2024/09/15 01:18:26 djm Exp $ */
+/* $OpenBSD: auth.c,v 1.163 2025/09/15 04:39:15 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -756,6 +756,7 @@ auth_activate_options(struct ssh *ssh, struct sshauthopt *opts)
error("Inconsistent authentication options: %s", emsg);
return -1;
}
+ sshauthopt_free(old);
return 0;
}
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list