Bugzilla – Attachment 1386 Details for
Bug 1396
When pam-authentication thread ends, it doesn't call the function pam_end
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
missing call of pam_end at the end of the authenticating thread
pam_end.diff (text/plain), 731 bytes, created by
eMBecka
on 2007-12-07 01:45:42 AEDT
(
hide
)
Description:
missing call of pam_end at the end of the authenticating thread
Filename:
MIME Type:
Creator:
eMBecka
Created:
2007-12-07 01:45:42 AEDT
Size:
731 bytes
patch
obsolete
>--- auth-pam.c 2007-08-10 06:32:34.000000000 +0200 >+++ /tmp/auth-pam.c 2007-12-06 15:16:24.000000000 +0100 >@@ -506,6 +506,7 @@ sshpam_thread(void *ctxtp) > buffer_put_cstring(&buffer, env_from_pam[i]); > #endif /* UNSUPPORTED_POSIX_THREADS_HACK */ > >+ pam_end(sshpam_handle, sshpam_err); > /* XXX - can't do much about an error here */ > ssh_msg_send(ctxt->pam_csock, sshpam_err, &buffer); > buffer_free(&buffer); >@@ -515,6 +516,7 @@ sshpam_thread(void *ctxtp) > buffer_put_cstring(&buffer, > pam_strerror(sshpam_handle, sshpam_err)); > /* XXX - can't do much about an error here */ >+ pam_end(sshpam_handle, sshpam_err); > if (sshpam_err == PAM_ACCT_EXPIRED) > ssh_msg_send(ctxt->pam_csock, PAM_ACCT_EXPIRED, &buffer); > else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1396
: 1386