From: Arаm Sаrgsyаn Date: Wed, 9 Oct 2024 10:31:09 +0000 (+0000) Subject: fix: dev: Fix a data race in dns_zone_getxfrintime() X-Git-Tag: v9.21.3~93 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=84eac93bfd8613022d0042a80f9d9d97e5b30f7a;p=thirdparty%2Fbind9.git fix: dev: Fix a data race in dns_zone_getxfrintime() The dns_zone_getxfrintime() function fails to lock the zone before accessing its 'xfrintime' structure member, which can cause a data race between soa_query() and the statistics channel. Add the missing locking/unlocking pair, like it's done in numerous other similar functions. Closes #4976 Merge branch '4976-zone-xfrintime-data-race-fix' into 'main' See merge request isc-projects/bind9!9591 --- 84eac93bfd8613022d0042a80f9d9d97e5b30f7a