Hi,

I noticed that getaddrinfo will faithfully perform
DNS resolution on hostnames such as "1.2.3.4"

This is problematic in the case when user uses numeric IPs
_exactly_ because he knows that his DNS resolution
does not work. He'll have nasty surprise: numeric
addresses won't work either!

I added a workaround to busybox which detects this case.

However, I think this should be done on libc level
for all users of getaddrinfo.

I can code it up.

Does anyone object to this?

-- 
vda
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to