mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
dns_name_fromwire:5 test expected dns_name_fromwire() to
detect unwanted compression but did not set the 'strict' flag
This commit is contained in:
@@ -2171,7 +2171,7 @@ test_dns_name_fromwire( char *datafile_name,
|
||||
|
||||
isc_buffer_init(&iscbuf2, buf2, buflen);
|
||||
dns_name_init(&dns_name1, NULL);
|
||||
dns_decompress_init(&dctx, -1, ISC_FALSE);
|
||||
dns_decompress_init(&dctx, -1, ISC_TRUE);
|
||||
dns_decompress_setmethods(&dctx, dc_method);
|
||||
dns_result = dns_name_fromwire(&dns_name1, &iscbuf1,
|
||||
&dctx, downcase ? ISC_TRUE : ISC_FALSE, &iscbuf2);
|
||||
|
Reference in New Issue
Block a user