[Bug 1215] sshd requires entry from getpwnam for PAM accounts
    bugzilla-daemon at mindrot.org 
    bugzilla-daemon at mindrot.org
       
    Wed Mar 13 07:20:23 EST 2013
    
    
  
https://bugzilla.mindrot.org/show_bug.cgi?id=1215
--- Comment #20 from Jim Basney <jbasney at ncsa.uiuc.edu> ---
Created attachment 2228
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2228&action=edit
add needed pwcopy call in sshpam_check_userchanged
Attachment 1171 should do
  sshpam_authctxt->pw = pwcopy(pw);
instead of
  sshpam_authctxt->pw = pw;
to avoid potential trouble in later
getpwnam(sshpam_authctxt->pw->pw_name) and pwfree(sshpam_authctxt->pw)
calls.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
You are watching the reporter of the bug.
    
    
More information about the openssh-bugs
mailing list