[Bug 2777] sshd crashes when getpwnam result is returned by libnss_systemd

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Jan 5 14:58:27 AEDT 2018


Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
   Attachment #3110|                            |ok?
              Flags|                            |

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Created attachment 3110
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3110&action=edit
keep scrubbed copy of passwd struct

We can use the existing pwcopy() function to make a local, mutable copy
and hope the system endpwent() does the right thing and scrubs the last
returned passwd entry from memory.

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.

More information about the openssh-bugs mailing list