This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4671] gethostbyname() cant resolve names starting/ending with "-"
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 23 Sep 2007 22:32:50 -0000
- Subject: [Bug libc/4671] gethostbyname() cant resolve names starting/ending with "-"
- References: <20070620171856.4671.nikolaeff@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2007-09-23 22:32 -------
I looked at this and saw that not even the latest bind version allows - at the
beginning. If anybody allows it this is likely a side effect of not using the
bind code base. I see no reason to diverge here.
Plus, this could have unwanted effects. If somebody makes a mistake when
specifying a host name a parameter might be mistaken for it. This might even be
exploitable.
So, no, this won't change.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=4671
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.