]> git.ipfire.org Git - thirdparty/bind9.git/commit
bin/dnssec/dnssec-signzone.c: Protect global variables by making them atomic
authorOndřej Surý <ondrej@sury.org>
Mon, 13 May 2019 17:36:02 +0000 (00:36 +0700)
committerOndřej Surý <ondrej@isc.org>
Wed, 3 Jul 2019 04:05:34 +0000 (00:05 -0400)
commitb104a9bc503033b4c3174f088e2c5bdbc5d8bb51
tree9c3b3b4f5a4c8925142a192ef1e46dd225c794a7
parent49462cf9747261cbc39d5fa4c691b64ac5472af4
bin/dnssec/dnssec-signzone.c: Protect global variables by making them atomic

Both global shuttingdown and finished bool variables were prone to data race
(as reported by ThreadSanitizer).  The commit makes them both atomic.
bin/dnssec/dnssec-signzone.c