This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nis/7058] New: All user apps doing host lookups crash with nis in hosts line


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]