This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/515] gethostbyname_r() returns incorrect error for certain sizes (or alignment)
- From: "jamie at shareable dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 May 2005 13:39:39 -0000
- Subject: [Bug libc/515] gethostbyname_r() returns incorrect error for certain sizes (or alignment)
- References: <20041104163517.515.gmorin1@bloomberg.net>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- 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.