Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Commit 6a4e1d3

Browse files
author
Arаm Sаrgsyаn
committed
Merge branch '3968-catz-data-race-in-dns__catz_update_cb' into 'main'
Fix a data race in dns__catz_update_cb() Closes #3968 See merge request isc-projects/bind9!7726
2 parents 2c3bbf3 + 95cb2af commit 6a4e1d3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
6128. [bug] Fix an omission in an earlier commit to avoid a race
2+
between the 'dns__catz_update_cb()' and
3+
'dns_catz_dbupdate_callback()' functions. [GL #3968]
4+
15
6127. [cleanup] Refactor network manager netievent callbacks to
26
use isc_job_run()/isc_async_run(). [GL #3964]
37

lib/dns/catz.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2234,7 +2234,7 @@ dns__catz_update_cb(void *data) {
22342234
uint32_t catz_vers;
22352235

22362236
REQUIRE(DNS_CATZ_ZONE_VALID(catz));
2237-
REQUIRE(DNS_DB_VALID(catz->db));
2237+
REQUIRE(DNS_DB_VALID(catz->updb));
22382238
REQUIRE(DNS_CATZ_ZONES_VALID(catz->catzs));
22392239

22402240
updb = catz->updb;

0 commit comments

Comments
 (0)