mirror of https://github.com/google/oss-fuzz.git
do not analyze too long inpus for gnupg list fuzz target (#3007)
This commit is contained in:
parent
ce05d64476
commit
ad44b580d9
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue