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 network/15218] getaddrinfo uses PTR records for canonname if address family specified


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.


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