Show More
@@ -22,6 +22,11 b' int hunk_consumer(long a1, long a2, long' | |||||
22 |
|
22 | |||
23 | int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) |
|
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 | auto maybe_inputs = SplitInputs(Data, Size); |
|
30 | auto maybe_inputs = SplitInputs(Data, Size); | |
26 | if (!maybe_inputs) { |
|
31 | if (!maybe_inputs) { | |
27 | return 0; |
|
32 | return 0; |
General Comments 0
You need to be logged in to leave comments.
Login now