Bugzilla – Attachment 2228 Details for
Bug 1215
sshd requires entry from getpwnam for PAM accounts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add needed pwcopy call in sshpam_check_userchanged
pamuserchange.diff (text/plain), 510 bytes, created by
Jim Basney
on 2013-03-13 07:20:23 AEDT
(
hide
)
Description:
add needed pwcopy call in sshpam_check_userchanged
Filename:
MIME Type:
Creator:
Jim Basney
Created:
2013-03-13 07:20:23 AEDT
Size:
510 bytes
patch
obsolete
>diff -Naur old/auth-pam.c new/auth-pam.c >--- old/auth-pam.c 2010-08-10 14:36:30.000000000 +0000 >+++ new/auth-pam.c 2013-03-12 19:10:29.000000000 +0000 >@@ -312,7 +312,7 @@ > fatal("PAM: could not get passwd entry for user " > "'%.100s' provided by PAM_USER", user); > pwfree(sshpam_authctxt->pw); >- sshpam_authctxt->pw = pw; >+ sshpam_authctxt->pw = pwcopy(pw); > sshpam_authctxt->valid = allowed_user(pw); > debug("PAM: user '%.100s' now %svalid", user, > sshpam_authctxt->valid ? "" : "in");
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 1215
:
1170
|
1171
|
1292
|
1293
|
1298
|
1300
|
1574
| 2228