summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2004-03-05 09:40:25 +0000
committerColin Watson <cjwatson@debian.org>2004-03-05 09:40:25 +0000
commitc631a88f06ff2c2ea5f1dfae0ae26677aecbe224 (patch)
tree167decede99f9ccf0570489bdc994ee192f522f4
parent4d4421e0ed7e00c66e4cd714d93ed87b000ed031 (diff)
Pick up upstream fix for OpenSSH bug #808, a segfault:
revision 1.97 date: 2004/03/04 09:03:54; author: dtucker; state: Exp; lines: +2 -1 - (dtucker) [auth-pam.c] Reset signal status when starting pam auth thread, prevent hanging during PAM keyboard-interactive authentications. ok djm@
-rw-r--r--auth-pam.c1
-rw-r--r--debian/changelog3
2 files changed, 4 insertions, 0 deletions
diff --git a/auth-pam.c b/auth-pam.c
index 397f7d3a8..15a691b11 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -117,6 +117,7 @@ pthread_create(sp_pthread_t *thread, const void *attr __unused,
117{ 117{
118 pid_t pid; 118 pid_t pid;
119 119
120 sshpam_thread_status = -1;
120 switch ((pid = fork())) { 121 switch ((pid = fork())) {
121 case -1: 122 case -1:
122 error("fork(): %s", strerror(errno)); 123 error("fork(): %s", strerror(errno));
diff --git a/debian/changelog b/debian/changelog
index a8259ef8e..c15d3c7e0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,9 @@ openssh (1:3.8p1-1) UNRELEASED; urgency=low
21 ssh_config(5) for details. 21 ssh_config(5) for details.
22 * Remove -fno-builtin-log, -DHAVE_MMAP_ANON_SHARED, and 22 * Remove -fno-builtin-log, -DHAVE_MMAP_ANON_SHARED, and
23 -D__FILE_OFFSET_BITS=64 compiler options, which are no longer necessary. 23 -D__FILE_OFFSET_BITS=64 compiler options, which are no longer necessary.
24 * Darren Tucker:
25 - Reset signal status when starting pam auth thread, prevent hanging
26 during PAM keyboard-interactive authentications.
24 27
25 -- Colin Watson <cjwatson@debian.org> Tue, 23 Sep 2003 19:22:38 +0100 28 -- Colin Watson <cjwatson@debian.org> Tue, 23 Sep 2003 19:22:38 +0100
26 29