mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-26 03:12:16 -04:00
There was a data race where new fetch response could be added to the fetch context after we unlock the fetch context and before we shut it down. This could cause assertion failure when fctx__done() was called with ISC_R_SUCCESS because there was originally no fetch response, but new fetch response without associated dataset was added before we had a chance to shutdown the fetch context. This manifested in the validated() callback, where cache_rrset() now returns ISC_R_SUCCESS instead of DNS_R_UNCHANGED when cache was not changed. However the data race was wrong on a general level. When the fctx__done() is called with ISC_R_SUCCESS as result is expects the fctx->lock to be already acquired to prevent these data races. |
||
|---|---|---|
| .. | ||
| dns | ||
| isc | ||
| isccc | ||
| isccfg | ||
| ns | ||
| .gitignore | ||
| meson.build | ||