From dc07b96eaf4c00bbb91c2c0a6bbdc14e7f0572c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20B=C3=BChler?= Date: Thu, 28 Dec 2017 22:42:56 +0100 Subject: [PATCH] test-dnsrecords: test wire instead of zone for truncated AAAA wire value --- pdns/test-dnsrecords_cc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/test-dnsrecords_cc.cc b/pdns/test-dnsrecords_cc.cc index da0f645e86..72d400fb10 100644 --- a/pdns/test-dnsrecords_cc.cc +++ b/pdns/test-dnsrecords_cc.cc @@ -243,7 +243,7 @@ BOOST_AUTO_TEST_CASE(test_record_types_bad_values) { (case_t(QType::AAAA, "23:00", zone, false)) // time when this test was written (case_t(QType::AAAA, "23:00::15::43", zone, false)) // double compression (case_t(QType::AAAA, "2a23:00::15::", zone, false)) // ditto - (case_t(QType::AAAA, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff", zone, false)) // truncated wire value + (case_t(QType::AAAA, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff", wire, false)) // truncated wire value // empty label, must be broken (case_t(QType::CNAME, "name..example.com.", zone, false)) // overly large label (64), must be broken -- 2.47.2