From: Mark Andrews Date: Thu, 7 Feb 2019 22:37:00 +0000 (+1100) Subject: add top of range checks X-Git-Tag: v9.12.4rc1~22^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fb8e80d52de3ec492246c4fe433661175af14cd;p=thirdparty%2Fbind9.git add top of range checks (cherry picked from commit 8d69e15988d160a8214d9003d0bfcdfb296bd6fe) --- diff --git a/lib/dns/tests/rdata_test.c b/lib/dns/tests/rdata_test.c index ad858c94666..732a7bc44c3 100644 --- a/lib/dns/tests/rdata_test.c +++ b/lib/dns/tests/rdata_test.c @@ -1633,6 +1633,10 @@ zonemd(void **state) { TEXT_INVALID("2019020700 0 0 "), TEXT_INVALID("2019020700 1 0 DEADBEEF"), TEXT_VALID("2019020700 2 0 DEADBEEF"), + TEXT_VALID("2019020700 255 0 DEADBEEF"), + TEXT_INVALID("2019020700 256 0 DEADBEEF"), + TEXT_VALID("2019020700 2 255 DEADBEEF"), + TEXT_INVALID("2019020700 2 256 DEADBEEF"), TEXT_VALID("2019020700 1 0 7162D2BB75C047A53DE98767C9192BEB" "14DB01E7E2267135DAF0230A 19BA4A31" "6AF6BF64AA5C7BAE24B2992850300509"),