public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug network/14841] New: RRSIG confuses getaddrinfo: getaddrinfo*.gaih_getanswer: got type "46"
@ 2012-11-14 18:34 lekensteyn at gmail dot com
  2014-06-14 11:06 ` [Bug network/14841] " fweimer at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: lekensteyn at gmail dot com @ 2012-11-14 18:34 UTC (permalink / raw)
  To: glibc-bugs

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

             Bug #: 14841
           Summary: RRSIG confuses getaddrinfo:
                    getaddrinfo*.gaih_getanswer: got type "46"
           Product: glibc
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
        AssignedTo: unassigned@sourceware.org
        ReportedBy: lekensteyn@gmail.com
    Classification: Unclassified


Created attachment 6736
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6736
getaddrinfo-bug.c

Since 13 November 2012 I see the following messages in my syslog from Firefox:

    getaddrinfo*.gaih_getanswer: got type "46"

This is printed when using Google's public DNS server 8.8.4.4. "46" is RRSIG
according to Wikipedia and my Wireshark output. The error message comes from
resolv/nss_dns/dns-host.c:1147

I have attached C source code that exposes this bug.

Steps to reproduce:
1. Use a DNS server that responds with the DNSSEC field "RRSIG" (like 8.8.4.4).
2. gcc getaddrinfo-bug.c -o getaddrinfo-bug && ./getaddrinfo-bug.
3. Look in the syslog.

I have verified that this message does not occur if I use a DNS server that
does not gives a response containing a RRSIG field.

Tested with Arch Linux glibc version 2.16.0-5 and an unpatched 2.16.0 build.

-- 
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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-02-24  8:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-14 18:34 [Bug network/14841] New: RRSIG confuses getaddrinfo: getaddrinfo*.gaih_getanswer: got type "46" lekensteyn at gmail dot com
2014-06-14 11:06 ` [Bug network/14841] " fweimer at redhat dot com
2014-06-14 13:11 ` fweimer at redhat dot com
2015-02-05 14:49 ` siddhesh at redhat dot com
2015-02-24  7:50 ` cvs-commit at gcc dot gnu.org
2015-02-24  8:03 ` siddhesh at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).