[openssh-commits] [openssh] 12/15: upstream: leak of authentication options at exit; ok dtucker@
git+noreply at mindrot.org
git+noreply at mindrot.org
Mon Sep 15 16:13:51 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 b9464cee0fd084d89d91696a17b3621b4cf512bf
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Mon Sep 15 04:52:12 2025 +0000
upstream: leak of authentication options at exit; ok dtucker@
OpenBSD-Commit-ID: ba559799c2ff9b10afc3abefb1797c0843a6ff24
---
sshd-auth.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sshd-auth.c b/sshd-auth.c
index 27db2e14c..9c31515de 100644
--- a/sshd-auth.c
+++ b/sshd-auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd-auth.c,v 1.8 2025/08/29 03:50:38 djm Exp $ */
+/* $OpenBSD: sshd-auth.c,v 1.9 2025/09/15 04:52:12 djm Exp $ */
/*
* SSH2 implementation:
* Privilege Separation:
@@ -773,6 +773,7 @@ main(int ac, char **av)
* The unprivileged child now transfers the current keystate and exits.
*/
mm_send_keystate(ssh, pmonitor);
+ sshauthopt_free(auth_opts);
ssh_packet_clear_keys(ssh);
exit(0);
}
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list