Re: inet_pton and oddly-formatted addresses



Hi,

On Sat, 20 Jan 2007 14:28:07 -0500
Ed Maste <emaste@xxxxxxxxxxxxxxxxxxxx> said:

emaste> I think an address like 1.002.3.4 is bizarre, but is our inet_pton incorrect
emaste> in rejecting it?

The change was taken from BIND9. The following is from BIND9's
CHANGES:

935. [bug] inet_pton failed to reject leading zeros.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@xxxxxxxxxxxx ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages