mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-02 19:59:28 -05:00
- Fix rrset cache create allocation failure case.
This commit is contained in:
parent
de93a636da
commit
ce72770f61
2 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
- Fix #1296: DNS over QUIC depends on a very outdated version of
|
||||
ngtcp2. Fixed so it works with ngtcp2 1.13.0 and OpenSSL 3.5.0.
|
||||
- Merge #1297: edns-subnet: fix NULL_AFTER_DEREF on subnetmod.
|
||||
- Fix rrset cache create allocation failure case.
|
||||
|
||||
17 June 2025: Yorgos
|
||||
- Fix for consistent use of local zone CNAME alias for configured auth
|
||||
|
|
|
|||
2
services/cache/rrset.c
vendored
2
services/cache/rrset.c
vendored
|
|
@ -68,6 +68,8 @@ struct rrset_cache* rrset_cache_create(struct config_file* cfg,
|
|||
struct rrset_cache *r = (struct rrset_cache*)slabhash_create(slabs,
|
||||
startarray, maxmem, ub_rrset_sizefunc, ub_rrset_compare,
|
||||
ub_rrset_key_delete, rrset_data_delete, alloc);
|
||||
if(!r)
|
||||
return NULL;
|
||||
slabhash_setmarkdel(&r->table, &rrset_markdel);
|
||||
return r;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue