]> git.ipfire.org Git - thirdparty/bind9.git/commit
Silence missing unlock from Coverity.
authorMark Andrews <marka@isc.org>
Mon, 9 Mar 2020 00:33:05 +0000 (11:33 +1100)
committerMark Andrews <marka@isc.org>
Fri, 13 Mar 2020 02:37:04 +0000 (13:37 +1100)
commite62b2b29333fd43bf17701e716eed1e035107d73
tree9ee929520123b6d683b5af2251e1ce12897a163c
parent08ce059f2e049644758661c92056bf89dafd4bd5
Silence missing unlock from Coverity.

Save 'i' to 'locknum' and use that rather than using
'header->node->locknum' when performing the deferred
unlock as 'header->node->locknum' can theoretically be
different to 'i'.

(cherry picked from commit 8dd8d48c9f679b58c244cbe09637404905a00af6)
lib/dns/rbtdb.c