[openssh-commits] [openssh] branch master updated: upstream: missing set_log_handler() call in ssh-auth.c, exposed after

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Aug 18 14:39:43 AEST 2025


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

djm pushed a commit to branch master
in repository openssh.

The following commit(s) were added to refs/heads/master by this push:
     new c2c8bae39 upstream: missing set_log_handler() call in ssh-auth.c, exposed after
c2c8bae39 is described below

commit c2c8bae39380392449ac3297061cbfc486126ad5
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Mon Aug 18 04:38:21 2025 +0000

    upstream: missing set_log_handler() call in ssh-auth.c, exposed after
    
    last commit
    
    OpenBSD-Commit-ID: 09f5c3cf33c18b8ad321edbf96c30ae3deada2b0
---
 sshd-auth.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sshd-auth.c b/sshd-auth.c
index 9dd086c4c..6bb4aff0d 100644
--- a/sshd-auth.c
+++ b/sshd-auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd-auth.c,v 1.6 2025/08/18 03:43:01 djm Exp $ */
+/* $OpenBSD: sshd-auth.c,v 1.7 2025/08/18 04:38:21 djm Exp $ */
 /*
  * SSH2 implementation:
  * Privilege Separation:
@@ -657,6 +657,7 @@ main(int ac, char **av)
 
 	/* Reinit logging in case config set Level, Facility or Verbose. */
 	log_init(__progname, options.log_level, options.log_facility, 1);
+	set_log_handler(mm_log_handler, pmonitor);
 
 	debug("sshd-auth version %s, %s", SSH_VERSION, SSH_OPENSSL_VERSION);
 

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


More information about the openssh-commits mailing list