Commit bd7237e6 authored by Michael Graff's avatar Michael Graff
Browse files

add another REQUIRE() where it might help

parent c16cc434
......@@ -268,6 +268,8 @@ bucket_search(dns_dispatch_t *disp, isc_sockaddr_t *dest, dns_messageid_t id,
{
dns_dispentry_t *res;
REQUIRE(bucket < disp->qid_tablesize);
res = ISC_LIST_HEAD(disp->qid_table[bucket]);
while (res != NULL) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment