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 libc/12684] New: Multi-request DNS lookups do not properly fall back to secondary nameserver


http://sourceware.org/bugzilla/show_bug.cgi?id=12684

           Summary: Multi-request DNS lookups do not properly fall back to
                    secondary nameserver
           Product: glibc
           Version: 2.13
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: pasky@suse.cz


Created attachment 5678
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5678
proposed patch

The resolver does not properly handle a case where AF_UNSPEC query is started,
two requests are therefore dispatched, and something like NOTIMP or SERVFAIL is
returned to one of them (e.g. AF_INET6). In this case, the second nameserver in
queue is not queried even though it should be. It is caused by an omission of
resplen = 0 in the appropriate branch of send_dg() - therefore, when checking
whether next nameserver should be queried, it is assumed that a proper reply
was received from the first one.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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