This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5491] New: Valgrind detects invalid read during getaddrinfo w/o nscd running
- From: "harningt at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 17 Dec 2007 04:27:56 -0000
- Subject: [Bug libc/5491] New: Valgrind detects invalid read during getaddrinfo w/o nscd running
- Reply-to: sourceware-bugzilla at sourceware dot org
This is using glibc 2.7 (the entry box needs to be fixed...)
When I use getaddrinfo, valgrind detects a read of size 8 when 'nscd' is not
running. When 'nscd' is running, it does not...
(In 32-bit mode it is an invalid read of size 4 ... so I bet its a ptr or size_t...)
Attached is a source file which demonstrates this problem.
Also attached is the 2 valgrind outputs (32 and 64-bit versions).
Details:
I'm running Gentoo Linux w/ `uname -a`:
Linux shiva 2.6.22-ck1 #6 SMP Tue Sep 25 04:53:20 EDT 2007 x86_64 AMD Athlon(tm)
64 X2 Dual Core Processor 6000+ AuthenticAMD GNU/Linux
--
Summary: Valgrind detects invalid read during getaddrinfo w/o
nscd running
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: harningt at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: x86_64-pc-linux-gnu
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=5491
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.