Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2014 10:52:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 195128] Memory leaks in lib/libpam/modules due to memory handling with login_getcapstr, et al
Message-ID:  <bug-195128-8-3ijVKIlErp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195128-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195128-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195128

Dag-Erling Sm=C3=83=C2=B8rgrav <des@FreeBSD.org> changed:

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

--- Comment #1 from Dag-Erling Sm=C3=83=C2=B8rgrav <des@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).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195128-8-3ijVKIlErp>