summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-12-14 20:37:05 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-14 20:37:05 +0000
commit8489e901fb16fe508e23a36cd3eff93d8332c2a2 (patch)
treef44f198838f5312fef40b68294c7acd4d74d7c41 /testing
parent07c0a4952a9fe45e51c6ba5a2e19296e52ea6ec7 (diff)
downloadpdfium-8489e901fb16fe508e23a36cd3eff93d8332c2a2.tar.xz
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 <dsinclair@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'testing')
-rw-r--r--testing/libfuzzer/xfa_codec_fuzzer.h5
1 files changed, 3 insertions, 2 deletions
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: