[openssh-commits] [openssh] branch master updated: don't kill already-reaped kbdint PAM subprocess
git+noreply at mindrot.org
git+noreply at mindrot.org
Thu Nov 26 08:25:44 AEDT 2026
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 4fb278a52 don't kill already-reaped kbdint PAM subprocess
4fb278a52 is described below
commit 4fb278a524c43f46aa420c80378b7053e76ac42c
Author: Damien Miller <djm at mindrot.org>
AuthorDate: Thu Nov 26 08:24:50 2026 +1100
don't kill already-reaped kbdint PAM subprocess
avoids possble SIGKILL of unrelated process if the PID was recycled
between reaping and killing
Anthropic ANT-2026-P7Q5JT14
---
auth-pam.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/auth-pam.c b/auth-pam.c
index d2f6d59bc..72dc4288f 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -219,6 +219,8 @@ static int
pthread_cancel(sp_pthread_t thread)
{
ssh_signal(SIGCHLD, sshpam_oldsig);
+ if (sshpam_thread_status != -1)
+ return 0;
return (kill(thread, SIGTERM));
}
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list