mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 17:50:00 -04:00
add insist to try to prevent coverity false positive
This commit is contained in:
parent
c51fe7894a
commit
92da7a90dc
1 changed files with 1 additions and 0 deletions
|
|
@ -1286,6 +1286,7 @@ clean_namehooks(dns_adb_t *adb, dns_adbnamehooklist_t *namehooks) {
|
|||
if (addr_bucket != DNS_ADB_INVALIDBUCKET)
|
||||
UNLOCK(&adb->entrylocks[addr_bucket]);
|
||||
addr_bucket = entry->lock_bucket;
|
||||
INSIST(addr_bucket != DNS_ADB_INVALIDBUCKET);
|
||||
LOCK(&adb->entrylocks[addr_bucket]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue