- Fix to unlock cache_lookup message for malformed records.

This commit is contained in:
W.C.A. Wijngaards 2025-08-13 12:02:41 +02:00
parent 651a71fa76
commit d122ae6490
2 changed files with 2 additions and 0 deletions

View file

@ -1825,6 +1825,7 @@ cache_lookup_msg(struct lruhash_entry* e, void* arg)
for(j=0; j<rd->count + rd->rrsig_count; j++) {
if(!packed_rr_to_string(rk, j,
*inf->worker->env.now, s, sizeof(s))) {
rrset_array_unlock(d->ref, d->rrset_count);
ssl_printf(inf->ssl, "BADRR\n");
return;
}

View file

@ -2,6 +2,7 @@
- unbound-control cache_lookup <domains> prints the cached rrsets
and messages for those.
- Fix to remove debug from cache_lookup.
- Fix to unlock cache_lookup message for malformed records.
12 August 2025: Wouter
- Fix that unbound-control dump_cache releases the cache locks