This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/15218] getaddrinfo uses PTR records for canonname if address family specified
- From: "ghudson at mit dot edu" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 02 Mar 2013 07:11:43 +0000
- Subject: [Bug network/15218] getaddrinfo uses PTR records for canonname if address family specified
- Auto-submitted: auto-generated
- References: <bug-15218-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15218
--- Comment #4 from Greg Hudson <ghudson at mit dot edu> 2013-03-02 07:11:43 UTC ---
Another approach can be found at:
http://pkgs.fedoraproject.org/cgit/glibc.git/plain/glibc-fedora-gai-canonical.patch
which completely avoids the gethostbyname2_r path if AI_CANONNAME is requested,
and also rips out the code to use gethostbyaddr_r for canonname. Although that
change is much more invasive than my candidate fix, it has received more
testing.
--
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.