]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix RPZ reference counting error on shutdown
authorAram Sargsyan <aram@isc.org>
Mon, 13 Feb 2023 14:47:09 +0000 (14:47 +0000)
committerAram Sargsyan <aram@isc.org>
Tue, 14 Feb 2023 11:21:40 +0000 (11:21 +0000)
commitaafe857e487669f4637cb809c287e1909a26ba91
tree1b3d12ee93bb6314a572d9a3af15649ed9047971
parentd68ef418f8a0c8b951360d28efe060e6a3a7a7a2
Fix RPZ reference counting error on shutdown

A dns_rpz_unref_rpzs() call is missing when taking the 'goto unlock;'
path on shutdown, in order to compensate for the earlier
dns_rpz_ref_rpzs() call.

Move the dns_rpz_ref_rpzs() call after the shutdown check.

(cherry picked from commit afbe63565fa444f13359425554c871cc924d9547)
lib/dns/rpz.c