Limit fuzzer input size for comfort noise decoder fuzzer
This avoids fuzzer timeouts on the bot. NOTRY=True Bug: chromium:857404 Change-Id: I480c53f005536029c667b9f41aab3ecaca14d125 Reviewed-on: https://webrtc-review.googlesource.com/86945 Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org> Reviewed-by: Sam Zackrisson <saza@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23833}
This commit is contained in:

committed by
Commit Bot

parent
265b868e23
commit
c05bd738d6
@ -505,6 +505,8 @@ webrtc_fuzzer_test("comfort_noise_decoder_fuzzer") {
|
||||
"../../modules/audio_coding:cng",
|
||||
"../../rtc_base:rtc_base_approved",
|
||||
]
|
||||
|
||||
libfuzzer_options = [ "max_len=5000" ]
|
||||
}
|
||||
|
||||
webrtc_fuzzer_test("rtp_frame_reference_finder_fuzzer") {
|
||||
|
@ -50,9 +50,6 @@ void FuzzOneInputTest(rtc::ArrayView<const uint8_t> data) {
|
||||
} // namespace test
|
||||
|
||||
void FuzzOneInput(const uint8_t* data, size_t size) {
|
||||
// Limit the input size to 100000 bytes to avoid fuzzer timeout.
|
||||
if (size > 200000)
|
||||
return;
|
||||
test::FuzzOneInputTest(rtc::ArrayView<const uint8_t>(data, size));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user