diff --git a/test/fuzzers/audio_processing_configs_fuzzer.cc b/test/fuzzers/audio_processing_configs_fuzzer.cc index efaeb135a4..4346ffbf1b 100644 --- a/test/fuzzers/audio_processing_configs_fuzzer.cc +++ b/test/fuzzers/audio_processing_configs_fuzzer.cc @@ -150,6 +150,9 @@ std::unique_ptr CreateApm(test::FuzzDataHelper* fuzz_data, } // namespace void FuzzOneInput(const uint8_t* data, size_t size) { + if (size > 400000) { + return; + } test::FuzzDataHelper fuzz_data(rtc::ArrayView(data, size)); // This string must be in scope during execution, according to documentation // for field_trial.h. Hence it's created here and not in CreateApm.