aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/buffered_file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fuzz/buffered_file.cpp')
-rw-r--r--src/test/fuzz/buffered_file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/buffered_file.cpp b/src/test/fuzz/buffered_file.cpp
index ed72260d10..c3c2e4050f 100644
--- a/src/test/fuzz/buffered_file.cpp
+++ b/src/test/fuzz/buffered_file.cpp
@@ -29,7 +29,7 @@ FUZZ_TARGET(buffered_file)
}
if (opt_buffered_file && fuzzed_file != nullptr) {
bool setpos_fail = false;
- while (fuzzed_data_provider.ConsumeBool()) {
+ LIMITED_WHILE(fuzzed_data_provider.ConsumeBool(), 10000) {
CallOneOf(
fuzzed_data_provider,
[&] {