]> git.ipfire.org Git - thirdparty/bind9.git/commit
Do not cancel processing record datasets in catalog zone after an error
authorAram Sargsyan <aram@isc.org>
Thu, 24 Mar 2022 21:38:08 +0000 (21:38 +0000)
committerAram Sargsyan <aram@isc.org>
Tue, 7 Jun 2022 09:59:32 +0000 (09:59 +0000)
commit87b3ced5fefffae9627ec23f7f509be6d79c39e7
tree2185aafe1c131d6798347950674fb3df065c5185
parenta0e05074fd2599478947d380d724ae40ed5999ae
Do not cancel processing record datasets in catalog zone after an error

When there are multiple record datasets in a database node of a catalog
zone, and BIND encounters a soft error during processing of a dataset,
it breaks from the loop and doesn't process the other datasets in the
node.

There are cases when this is not desired. For example, the catalog zones
draft version 5 states that there must be a TXT RRset named
`version.$CATZ` with exactly one RR, but it doesn't set a limitation
on possible non-TXT RRsets named `version.$CATZ` existing alongside
with the TXT one. In case when one exists, we will get a processing
error and will not continue the loop to process the TXT RRset coming
next.

Remove the "break" statement to continue processing all record datasets.

(cherry picked from commit 0b2d5490cd8b17a01852fcd9e0a0e0c4b9c93ab6)
lib/dns/catz.c