[Bug 2043] memleak in import_environments
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Jun 26 16:08:11 AEST 2020
https://bugzilla.mindrot.org/show_bug.cgi?id=2043
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|NEW |RESOLVED
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Unfortunately, it's not possible to safely free this here as
pam_putenv() is underspecified: it is not guaranteed to either copy the
environment it is setting or take over ownership of it. The safest
behaviour here is just to accept the one-time leak :(
I have added a comment to explain this in auth-pam.c
--
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