- Fix that unbound-checkconf checks if an auth-zone download
can overwrite another file, by filename collision.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
+ - Fix that malloc failure in auth-zone insert rr does
+ not create an empty node and does not cause an infinite
+ loop. Thanks to Qifan Zhang, Palo Alto Networks, for
+ the report.
16 June 2026: Wouter
- Fix to disallow $INCLUDE for secondary zones. Start up
if(!az_domain_add_rr(node, rr_type, rr_ttl, rdata, rdatalen,
duplicate)) {
log_err("cannot add RR to domain");
+ if(node->rrsets == NULL) {
+ (void)rbtree_delete(&z->data, node);
+ auth_data_delete(node);
+ }
return 0;
}
if(z->rpz) {
while(next && (rbnode_type*)next != RBTREE_NULL && next->rrsets == NULL) {
/* the next name has empty rrsets, is an empty nonterminal
* itself, see if there exists something below it */
- next = (struct auth_data*)rbtree_next(&node->node);
+ next = (struct auth_data*)rbtree_next(&next->node);
}
if((rbnode_type*)next == RBTREE_NULL || !next) {
/* there is no next node, so something below it cannot