mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Disable compression in dns_rdata_fromwire_text()
This commit is contained in:
committed by
Ondřej Surý
parent
aa811801cb
commit
3e743da1bd
@@ -206,7 +206,7 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|||||||
* Convert rdata back to wire.
|
* Convert rdata back to wire.
|
||||||
*/
|
*/
|
||||||
CHECK(dns_compress_init(&cctx, -1, mctx));
|
CHECK(dns_compress_init(&cctx, -1, mctx));
|
||||||
dns_compress_setsensitive(&cctx, true);
|
dns_compress_disable(&cctx);
|
||||||
isc_buffer_init(&target, towire, sizeof(towire));
|
isc_buffer_init(&target, towire, sizeof(towire));
|
||||||
result = dns_rdata_towire(&rdata1, &cctx, &target);
|
result = dns_rdata_towire(&rdata1, &cctx, &target);
|
||||||
dns_compress_invalidate(&cctx);
|
dns_compress_invalidate(&cctx);
|
||||||
|
Reference in New Issue
Block a user