[Bug 195128] Memory leaks in lib/libpam/modules due to memory handling with login_getcapstr, et al

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 18 10:52:00 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195128

Dag-Erling Smørgrav <des at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Triage                |In Discussion

--- Comment #1 from Dag-Erling Smørgrav <des at FreeBSD.org> ---
Ugh, this probably affects pam_unix(8) as well.  The fault is evenly divided
between the modules and libutil, since it uses cgetstr() almost everywhere and
never free(3)s the result, even when it can (e.g. login_getcapnum(3), which by
the way uses strtoq(3) incorrectly).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list