This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nscd/1363] getXXbyYY functions coredump in nscd_getpw_r: free of static resultbuf
- From: "kees dot verruijt at redwood dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 22 Sep 2005 14:30:26 -0000
- Subject: [Bug nscd/1363] getXXbyYY functions coredump in nscd_getpw_r: free of static resultbuf
- References: <20050922141827.1363.kees.verruijt@redwood.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From kees dot verruijt at redwood dot com 2005-09-22 14:30 -------
Created an attachment (id=665)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=665&action=view)
glibc_1363_testcase1.c
C source that might coredump; it just calls getpwnam() on different
non-existing users. It coredumps the first call after the nscd daemon does GC.
This is easiest to see by running the attached program and "nscd -d -d -d -d"
in two adjacent sessions. As soon as I see "remove GETPWBYNAME entry ".....""
by nscd the test program aborts.
(Originally found on SuSE 9.3 x86_64 w/ glibc-2.3.4-23.4)
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1363
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.