NULL for update cache, like when it stores servfail status.
14 April 2026: Wouter
- Fix #1017: memory corruption related core dumps.
When alloc_reg_obtain has an empty list, return a new allocation.
+ - Fix clang analyzer warning for subnetmod, when return_msg is
+ NULL for update cache, like when it stores servfail status.
13 April 2026: Yorgos
- Update the documentation of 'max-query-restarts' in the man page.
diff_size);
return;
}
+ if(!qstate->return_msg) {
+ lock_rw_unlock(&lru_entry->lock);
+ return;
+ }
/* Step 2, find the correct tree */
if (!(tree = get_tree(lru_entry->data, edns, sne, qstate->env->cfg))) {
lock_rw_unlock(&lru_entry->lock);