This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2314] nss_parse_service_list leaks a tiny amount of memory
- From: "andi5 dot py at gmx dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 8 Aug 2010 15:20:59 -0000
- Subject: [Bug libc/2314] nss_parse_service_list leaks a tiny amount of memory
- References: <20060209200413.2314.david@edeca.net>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From andi5 dot py at gmx dot net 2010-08-08 15:20 -------
I think the memory is leaked in
nis/nis_compat/compat-{grp,initgroups,pwd,spwd}.c. All of them contain static
service_user *ni, which is initialized by init_nss_interface() ->
__nss_database_lookup ("group_compat", NULL, "nis", &ni).
This memory does not seem to be freed by __libc_freeres().
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WORKSFORME |
http://sourceware.org/bugzilla/show_bug.cgi?id=2314
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.