do not analyze too long inpus for gnupg list fuzz target (#3007)

This commit is contained in:
Catena cyber 2019-11-08 03:34:46 +01:00 committed by Abhishek Arya
parent ce05d64476
commit ad44b580d9
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
if (Size > MAX_LEN) {
// limit maximum size to avoid long computing times
Size = MAX_LEN;
return 0;
}
memset(ctrlGlobal, 0, sizeof(*ctrlGlobal));