Break out of the switch if we have already reached the quota
This prevents consume_validation_fail being called and causing an INSIST.
This commit is contained in:
@@ -1482,6 +1482,7 @@ again:
|
||||
consume_validation(val);
|
||||
if (over_max_fails(val)) {
|
||||
result = ISC_R_QUOTA;
|
||||
break;
|
||||
}
|
||||
consume_validation_fail(val);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user