summaryrefslogtreecommitdiff
path: root/lib/dns/rrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dns/rrl.c')
-rw-r--r--lib/dns/rrl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dns/rrl.c b/lib/dns/rrl.c
index 02554e9a9dfb..08fc8e712ffa 100644
--- a/lib/dns/rrl.c
+++ b/lib/dns/rrl.c
@@ -253,6 +253,7 @@ expand_entries(dns_rrl_t *rrl, int new) {
static inline dns_rrl_bin_t *
get_bin(dns_rrl_hash_t *hash, unsigned int hval) {
+ INSIST(hash != NULL);
return (&hash->bins[hval % hash->length]);
}