]> git.ipfire.org Git - thirdparty/bind9.git/commit
Check the prunelink member of the correct node
authorMichał Kępień <michal@isc.org>
Sat, 2 Mar 2024 05:36:37 +0000 (06:36 +0100)
committerMichał Kępień <michal@isc.org>
Sat, 2 Mar 2024 05:36:37 +0000 (06:36 +0100)
commit7d9be24bb1e021560d58949d933274df53a2d69f
tree67ffbb2efbf18dc772d0702dd590fa8421d7140d
parent5095a05c13d9a56bfe2f62c99d77e097d523599e
Check the prunelink member of the correct node

Commit 4b6fc97af6f936616a12e733b14ffc450af6df87 checks the prunelink
member of the node that was just pruned, not its parent node that was
intended to be examined.  Fix by checking the prunelink member of the
parent node, so that adding the latter to its relevant prunenodes list
twice is properly guarded against.
lib/dns/rbtdb.c