]> git.ipfire.org Git - thirdparty/bind9.git/commit
make sure new_zone_lock is locked before unlocking it
authorEvan Hunt <each@isc.org>
Sun, 12 Jul 2020 04:30:53 +0000 (21:30 -0700)
committerEvan Hunt <each@isc.org>
Mon, 13 Jul 2020 23:53:14 +0000 (23:53 +0000)
commitfc73dbdc7d03470f6676bcc0308777f3bf2e2eb1
tree49e17182aa8ef9ccb7a9782fdee9d553787eb57b
parent3140598d955cd5179117f5899d6d88a1743ad64a
make sure new_zone_lock is locked before unlocking it

it was possible for the count_newzones() function to try to
unlock view->new_zone_lock on return before locking it, which
caused a crash on shutdown.

(cherry picked from commit ed37c63e2bbc4afe299dbe38ae98871dcc1d3470)
bin/named/server.c