Reduce input size limit of parser fuzzer to 2kB

R=mmoroz@chromium.org

Bug: chromium:911644
Change-Id: Icc42e5ace80ea816925c95e2ea330b484b68e7cf
Reviewed-on: https://chromium-review.googlesource.com/c/1379878
Reviewed-by: Marja Hölttä <marja@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58280}
This commit is contained in:
Clemens Hammacher 2018-12-17 13:40:42 +01:00 committed by Commit Bot
parent 8dc9e26eda
commit e7cdc378de

View File

@ -19,7 +19,7 @@
bool IsValidInput(const uint8_t* data, size_t size) {
// Ignore too long inputs as they tend to find OOM or timeouts, not real bugs.
if (size > 8192) {
if (size > 2048) {
return false;
}