From: Alan T. DeKok Date: Thu, 7 Oct 2021 22:00:44 +0000 (-0400) Subject: more / fixed error tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82ca757a28e78e0869db44cd5c4399765a72f2b1;p=thirdparty%2Ffreeradius-server.git more / fixed error tests --- diff --git a/src/tests/unit/protocols/dns/error.txt b/src/tests/unit/protocols/dns/error.txt index 115948c2795..924afc44379 100644 --- a/src/tests/unit/protocols/dns/error.txt +++ b/src/tests/unit/protocols/dns/error.txt @@ -10,10 +10,13 @@ match Failed decoding NS - ns structure at count 1/24576 overflows the packet # 256 bytes of data decode-proto 44 81 9a 97 00 00 00 00 00 01 00 00 01 00 00 00 2d 00 00 dc dc 23 -match packet = { id = 17537, query = response, opcode = 3, authoritative = no, truncated-response = yes, recursion-desired = no, recursion-available = yes, reserved = no, authentic-data = no, checking-disabled = yes, rcode = yx-rr-set, qdcount = 0, ancount = 0, nscount = 1, arcount = 0 }, ns = { raw.name = 0x010000002d0000dcdc23 } +match packet = { id = 17537, query = response, opcode = 3, authoritative = no, truncated-response = yes, recursion-desired = no, recursion-available = yes, reserved = no, authentic-data = no, checking-disabled = yes, rcode = yx-rr-set, qdcount = 0, ancount = 0, nscount = 1, arcount = 0 }, raw.ns = 0x010000002d0000dcdc23 decode-proto 20 20 20 20 20 20 20 20 20 20 20 20 ff match Failed decoding questions - question structure at count 1/8224 overflows the packet +decode-proto 2020 2020 0000 2020 2020 2020 012d 0000 0c20 2020 2020 2000 2520 2020 2020 ff20 2020 2020 2020 ff20 2020 2020 2020 20202020 2020 2020 2020 2020 20ff 2020 c00d +match Failed decoding RRs - rr structure at count 2/8224 overflows the packet + count -match 8 +match 10