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 06:50:40 +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
Greg Hudson <ghudson at mit dot edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #6912|0 |1
is obsolete| |
--- Comment #3 from Greg Hudson <ghudson at mit dot edu> 2013-03-02 06:50:40 UTC ---
Created attachment 6913
--> http://sourceware.org/bugzilla/attachment.cgi?id=6913
Candidate fix 2
This updated patch is more consistent with how other branches of the function
set canon.
I believe h->h_name should still be valid by the time canon is used at the end
of the function, because it lives in tmpbuf just like it does in the
gethostbyname4_r case.
--
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.