aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/torcontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fuzz/torcontrol.cpp')
-rw-r--r--src/test/fuzz/torcontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/torcontrol.cpp b/src/test/fuzz/torcontrol.cpp
index a97d3962bf..a78715f769 100644
--- a/src/test/fuzz/torcontrol.cpp
+++ b/src/test/fuzz/torcontrol.cpp
@@ -44,7 +44,7 @@ FUZZ_TARGET_INIT(torcontrol, initialize_torcontrol)
FuzzedDataProvider fuzzed_data_provider{buffer.data(), buffer.size()};
TorController tor_controller;
- while (fuzzed_data_provider.ConsumeBool()) {
+ LIMITED_WHILE(fuzzed_data_provider.ConsumeBool(), 10000) {
TorControlReply tor_control_reply;
CallOneOf(
fuzzed_data_provider,