2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-03 08:05:21 +00:00

add another REQUIRE() where it might help

This commit is contained in:
Michael Graff
1999-07-09 20:34:26 +00:00
parent c16cc434ef
commit bd7237e653

View File

@@ -268,6 +268,8 @@ bucket_search(dns_dispatch_t *disp, isc_sockaddr_t *dest, dns_messageid_t id,
{ {
dns_dispentry_t *res; dns_dispentry_t *res;
REQUIRE(bucket < disp->qid_tablesize);
res = ISC_LIST_HEAD(disp->qid_table[bucket]); res = ISC_LIST_HEAD(disp->qid_table[bucket]);
while (res != NULL) { while (res != NULL) {