Mailing List Archive

[Bug 2043] memleak in import_environments
https://bugzilla.mindrot.org/show_bug.cgi?id=2043

Damien Miller <djm@mindrot.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|NEW |RESOLVED

--- Comment #1 from Damien Miller <djm@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs