Skip to content

Commit 6a239e7

Browse files
tests: Don't limit fuzzing inputs to 1 MB for afl-fuzz (now: ∞ ∀ fuzzers)
1 parent b5c423c commit 6a239e7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/test/fuzz/fuzz.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ static bool read_stdin(std::vector<uint8_t>& data)
1919
ssize_t length = 0;
2020
while ((length = read(STDIN_FILENO, buffer, 1024)) > 0) {
2121
data.insert(data.end(), buffer, buffer + length);
22-
23-
if (data.size() > (1 << 20)) return false;
2422
}
2523
return length == 0;
2624
}

0 commit comments

Comments
 (0)