From 8489e901fb16fe508e23a36cd3eff93d8332c2a2 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Thu, 14 Dec 2017 20:37:05 +0000 Subject: Reduce XFA image fuzzer size limit to 64MB BUG=chromium:794351 Change-Id: Ieb876560674dfa0728d66f2ad3411f3f569d0ffa Reviewed-on: https://pdfium-review.googlesource.com/21290 Reviewed-by: dsinclair Commit-Queue: Ryan Harrison --- testing/libfuzzer/xfa_codec_fuzzer.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'testing') diff --git a/testing/libfuzzer/xfa_codec_fuzzer.h b/testing/libfuzzer/xfa_codec_fuzzer.h index 0ab7834f1e..b1d888f380 100644 --- a/testing/libfuzzer/xfa_codec_fuzzer.h +++ b/testing/libfuzzer/xfa_codec_fuzzer.h @@ -17,8 +17,9 @@ #include "testing/fx_string_testhelpers.h" #include "third_party/base/ptr_util.h" -// Support up to 512 MB. This prevents trivial OOM when MSAN is on. -const int kXFACodecFuzzerPixelLimit = 512000000; +// Support up to 64 MB. This prevents trivial OOM when MSAN is on and +// time outs. +const int kXFACodecFuzzerPixelLimit = 64000000; class XFACodecFuzzer { public: -- cgit v1.2.3