]> git.ipfire.org Git - thirdparty/bind9.git/commit
Tighten EUI48 and EUI64 text parser
authorMark Andrews <marka@isc.org>
Mon, 3 Aug 2026 04:42:51 +0000 (14:42 +1000)
committerMark Andrews <marka@isc.org>
Thu, 6 Aug 2026 13:22:06 +0000 (23:22 +1000)
commit59d2ff1920f8658b54880480b6f80a80d646c987
tree94ac132872e2e38465aa4ed28d90484daa08b2dc
parent5a4fc15c0305f8d7c9eea4cccdf1a661a4f8f15e
Tighten EUI48 and EUI64 text parser

Check that leading zeros were present and that there wasn't
any garbage at the end of the token by generating the record
in canonical form and checking that the input matched.
lib/dns/rdata/generic/eui48_108.c
lib/dns/rdata/generic/eui64_109.c