diff options
author | Colin Watson <cjwatson@debian.org> | 2004-03-05 09:40:25 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2004-03-05 09:40:25 +0000 |
commit | c631a88f06ff2c2ea5f1dfae0ae26677aecbe224 (patch) | |
tree | 167decede99f9ccf0570489bdc994ee192f522f4 /auth-pam.c | |
parent | 4d4421e0ed7e00c66e4cd714d93ed87b000ed031 (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@
Diffstat (limited to 'auth-pam.c')
-rw-r--r-- | auth-pam.c | 1 |
1 files changed, 1 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)); |