inet_pton and oddly-formatted addresses

Hajimu UMEMOTO ume at freebsd.org
Sat Jan 20 21:04:03 UTC 2007


Hi,

>>>>> On Sat, 20 Jan 2007 14:28:07 -0500
>>>>> Ed Maste <emaste at phaedrus.sandvine.ca> 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 at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the freebsd-net mailing list