]> git.ipfire.org Git - thirdparty/bind9.git/commit
Acquire qpmulti->mutex during destruction
authorTony Finch <fanf@isc.org>
Wed, 17 May 2023 09:57:16 +0000 (10:57 +0100)
committerTony Finch <fanf@isc.org>
Sat, 20 May 2023 07:26:21 +0000 (07:26 +0000)
commitb754c6628fc0a69441afbd449890e6b9af0d092a
tree0747c9ae3246977187e6a0f05ba86a6178275fab
parent4203e1643afa827b215b180b647bc50231fdaa07
Acquire qpmulti->mutex during destruction

Thread sanitizer warns that parts of the qp-trie are accessed
both with and without the mutex; the unlocked accesses happen during
destruction, so they should be benign, but there's no harm locking
anyway to convince tsan it is clean.

Also, ensure .tsan-suppress and .tsan-suppress-extra are in sync.
.tsan-suppress-extra
lib/dns/qp.c