aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2021-09-16 18:08:27 +0000
committerEd Maste <emaste@FreeBSD.org>2021-09-16 18:10:11 +0000
commitadb56e58e8db84d8087ebe3d3e7def0074cb5a90 (patch)
treeb356db75e3e0647451f289b33dd20b73f66a62c5
parent7cf62c68c0f48c44e3fcb098d0406f417c1f488b (diff)
downloadsrc-adb56e58e8db84d8087ebe3d3e7def0074cb5a90.tar.gz
src-adb56e58e8db84d8087ebe3d3e7def0074cb5a90.zip
openssh: use global state for blacklist in grace_alarm_handler
Obtained from: security/openssh-portable Fixes: 19261079b743 ("openssh: update to OpenSSH v8.7p1") Sponsored by: The FreeBSD Foundation
-rw-r--r--crypto/openssh/sshd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssh/sshd.c b/crypto/openssh/sshd.c
index 864ad09b29fc..25a3769b4823 100644
--- a/crypto/openssh/sshd.c
+++ b/crypto/openssh/sshd.c
@@ -385,7 +385,7 @@ grace_alarm_handler(int sig)
kill(0, SIGTERM);
}
- BLACKLIST_NOTIFY(NULL, BLACKLIST_AUTH_FAIL, "ssh");
+ BLACKLIST_NOTIFY(the_active_state, BLACKLIST_AUTH_FAIL, "ssh");
/* Log error and exit. */
if (use_privsep && pmonitor != NULL && pmonitor->m_pid <= 0)