mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-13 14:18:48 -04:00
When a zone database update callback is called, the 'catzs' object, extracted from the callback argument, might be already shutting down, in which case the 'catzs->zones' can be NULL and cause an assertion failure when calling isc_ht_find(). Add an early return from the callback if 'catzs->shuttingdown' is true. Also check the validity of 'catzs->zones' after locking 'catzs' in case there is a race with dns_catz_shutdown_catzs() running in another thread. |
||
|---|---|---|
| .. | ||
| dns | ||
| isc | ||
| isccc | ||
| isccfg | ||
| ns | ||
| .gitignore | ||
| Makefile.am | ||