This is the mail archive of the libc-alpha@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]

Re: gethostbyname doesn't check invalid input


Hi!
> What is even more weird - that Linux/glibc, Solaris, NetBSD and HP-UX all 
> behave in the same way - they accept a space and a trailing garbage after 
> numeric ipv4 address.

I would guess that they are all based on some version of BIND. At least
the resolv/README packged with glibc source says that it's based on
resolver part of BIND 8.

-- 
Cyril Hrubis
chrubis@suse.cz


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