From 3e743da1bdcd08376d2c6bf5a57e475951a867dc Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sat, 15 Aug 2020 18:06:50 +1000 Subject: [PATCH] Disable compression in dns_rdata_fromwire_text() --- fuzz/dns_rdata_fromwire_text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzz/dns_rdata_fromwire_text.c b/fuzz/dns_rdata_fromwire_text.c index 06e73d451b..e33726d13d 100644 --- a/fuzz/dns_rdata_fromwire_text.c +++ b/fuzz/dns_rdata_fromwire_text.c @@ -206,7 +206,7 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { * Convert rdata back to wire. */ CHECK(dns_compress_init(&cctx, -1, mctx)); - dns_compress_setsensitive(&cctx, true); + dns_compress_disable(&cctx); isc_buffer_init(&target, towire, sizeof(towire)); result = dns_rdata_towire(&rdata1, &cctx, &target); dns_compress_invalidate(&cctx);