]> git.ipfire.org Git - thirdparty/bind9.git/commit
enforces bounds of prefetch statement
authorColin Vidal <colin@isc.org>
Mon, 17 Nov 2025 11:33:48 +0000 (12:33 +0100)
committerColin Vidal <colin@isc.org>
Tue, 18 Nov 2025 09:19:15 +0000 (10:19 +0100)
commit5c038c2fa2c74a07c08d50e621b48fcff9125ad1
treeec059b228281a4ef910c904f7144ba4bd9a24d5e
parent346007d52dad394bcc8e5e191f54377a393a5f47
enforces bounds of prefetch statement

The prefetch statement now enforces its bounds. The configuration
(including `named-checkconf`) now fails if the trigger (first value) is
above 10, or if the eligibility (second optional value) isn't at least
six seconds more than the trigger value.
bin/tests/system/checkconf/bad-prefetch1.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-prefetch2.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-prefetch3.conf [new file with mode: 0644]
bin/tests/system/checkconf/bad-prefetch4.conf [new file with mode: 0644]
lib/isccfg/check.c
lib/isccfg/namedconf.c