diff options
Diffstat (limited to 'lib/Fuzzer/test/ShrinkControlFlowTest.cpp')
-rw-r--r-- | lib/Fuzzer/test/ShrinkControlFlowTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Fuzzer/test/ShrinkControlFlowTest.cpp b/lib/Fuzzer/test/ShrinkControlFlowTest.cpp index d095429636266..37eeede7cbffc 100644 --- a/lib/Fuzzer/test/ShrinkControlFlowTest.cpp +++ b/lib/Fuzzer/test/ShrinkControlFlowTest.cpp @@ -11,6 +11,7 @@ static volatile int Sink; extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { + if (Size > 64) return 0; int8_t Ids[256]; memset(Ids, -1, sizeof(Ids)); for (size_t i = 0; i < Size; i++) |