]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix an error path bug in rpz.c:update_nodes()
authorAram Sargsyan <aram@isc.org>
Tue, 3 Jan 2023 13:34:58 +0000 (13:34 +0000)
committerAram Sargsyan <aram@isc.org>
Tue, 14 Feb 2023 10:26:37 +0000 (10:26 +0000)
commitc3a4e142434afa732d40b8bcdb316fa6af31eaad
treeee465d49baafce8a3807a0146bdb9dbf99401cbd
parentc72b19b5e81c44f1badc1992fc2632c035b97e7c
Fix an error path bug in rpz.c:update_nodes()

When dns_db_createiterator() fails, 'updbit' should not be destroyed
for obvious reasons, i.e. it is NULL.

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