From 26375bdcf21cd98d289359fe4e09662880abe7da Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 22 Apr 2024 12:32:36 +1000 Subject: [PATCH] Break out of the switch if we have already reached the quota This prevents consume_validation_fail being called and causing an INSIST. --- lib/dns/validator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/dns/validator.c b/lib/dns/validator.c index ea4781de98..7c4135b61c 100644 --- a/lib/dns/validator.c +++ b/lib/dns/validator.c @@ -1482,6 +1482,7 @@ again: consume_validation(val); if (over_max_fails(val)) { result = ISC_R_QUOTA; + break; } consume_validation_fail(val); }