2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

Disable compression in dns_rdata_fromwire_text()

This commit is contained in:
Mark Andrews 2020-08-15 18:06:50 +10:00 committed by Ondřej Surý
parent aa811801cb
commit 3e743da1bd

View File

@ -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);