This is the mail archive of the glibc-bugs@sources.redhat.com 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/515] gethostbyname_r() returns incorrect error for certain sizes (or alignment)


------- Additional Comments From jamie at shareable dot org  2005-05-09 13:39 -------
A couple more data points:

  1. The buffer size threshold which triggers the bug depends on the length of
the hostname being queried.  Querying for a name with a different length, I
found the threshold varies - with a longer name more likely to trigger the bug.
 That's why it's not clear if there's a guaranteed-safe buffer size.

  2. I've only seen it when resolving a name which resolves through a CNAME.

-- Jamie


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=515

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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