https://bugzilla.mindrot.org/show_bug.cgi?id=1215

--- Comment #20 from Jim Basney <[email protected]> ---
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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to