packet_rrset_copy_region before using it. Thanks to Xin Wang
and Jiajia Liu, Northwestern Polytechnical University, for
the report.
15 May 2026: Wouter
- Fix man page entry for so-sndbuf, it is for responses sent out.
+ - Fix val_find_DS for robustness, to check the result of
+ packet_rrset_copy_region before using it. Thanks to Xin Wang
+ and Jiajia Liu, Northwestern Polytechnical University, for
+ the report.
11 May 2026: Yorgos
- Fix comment and verbose logging for EDNS fallback buffer size.
/* DS rrset exists. Return it to the validator immediately*/
struct ub_packed_rrset_key* copy = packed_rrset_copy_region(
rrset, region, *env->now);
- struct packed_rrset_data* d = copy->entry.data;
+ struct packed_rrset_data* d;
lock_rw_unlock(&rrset->entry.lock);
if(!copy)
return NULL;
+ d = (struct packed_rrset_data*)copy->entry.data;
msg = dns_msg_create(nm, nmlen, LDNS_RR_TYPE_DS, c, region, 1);
if(!msg)
return NULL;