##// END OF EJS Templates
xdiff: don't attempt to use fuzzer inputs larger than 100k...
Augie Fackler -
r41175:2e60a77b default
parent child Browse files
Show More
@@ -22,6 +22,11 b' int hunk_consumer(long a1, long a2, long'
22 22
23 23 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)
24 24 {
25 // Don't allow fuzzer inputs larger than 100k, since we'll just bog
26 // down and not accomplish much.
27 if (Size > 100000) {
28 return 0;
29 }
25 30 auto maybe_inputs = SplitInputs(Data, Size);
26 31 if (!maybe_inputs) {
27 32 return 0;
General Comments 0
You need to be logged in to leave comments. Login now