mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-21 22:22:56 -05:00
Found by static analyzer svace. Static analyzer message: Redundant comparison with a NULL value at subnetmod.c:236 for pointer 'sn_env->subnet_msg_cache', which was dereferenced at slabhash.c:228 by passing as 1st parameter to function 'slabhash_setmarkdel' at subnetmod.c:235. Moved usage of sn_env->subnet_msg_cache in slabhash_setmarkdel after checking. Signed-off-by: Konstantin Kamanin <bewflast@gmail.com> |
||
|---|---|---|
| .. | ||
| addrtree.c | ||
| addrtree.h | ||
| edns-subnet.c | ||
| edns-subnet.h | ||
| subnet-whitelist.c | ||
| subnet-whitelist.h | ||
| subnetmod.c | ||
| subnetmod.h | ||