Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2014 13:56:27 +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-spABIgZPQv@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=195128

--- Comment #6 from darius@dons.net.au ---
Created attachment 149711
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149711&action=edit
Fix & proto-test case

I tried writing a test based on
http://cvsweb.netbsd.org/bsdweb.cgi/src/tests/lib/libc/gen/t_dir.c?rev=1.6&content-type=text/x-cvsweb-markup&only_with_tag=MAIN
but that relies on malloc() calling sbrk() which isn't true on FreeBSD.

I used the jemalloc stats but it shows more deallocated than allocated so
either I'm using it wrong or the stats aren't useful for this purpose.

-- 
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-spABIgZPQv>