This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nis/7058] New: All user apps doing host lookups crash with nis in hosts line
- From: "sources-redhat at brej dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 27 Nov 2008 13:25:21 -0000
- Subject: [Bug nis/7058] New: All user apps doing host lookups crash with nis in hosts line
- Reply-to: sourceware-bugzilla at sourceware dot org
With nis in the hosts line before dns all user level applications which do
hostname lookups (firefox, curl, etc...) crash.
Valgrind dump:
http://www.cs.man.ac.uk/~brejc8/temp/curl.valgrind
strace of curl with nis and crash:
http://www.cs.man.ac.uk/~brejc8/temp/nis_curl1.trace
strace of curl without nis:
http://www.cs.man.ac.uk/~brejc8/temp/nis_curl2.trace
I suspect line 490 of nis/nss_nis/nis-hosts.c
"int parse_res = parse_line (result, &host, &data, buflen, errnop, AF_UNSPEC"
should not have & in front of host and data but I haven't been able to test it
as I am having some compile problems.
--
Summary: All user apps doing host lookups crash with nis in hosts
line
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: nis
AssignedTo: kukuk at suse dot de
ReportedBy: sources-redhat at brej dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=7058
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.