diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-12-14 20:37:05 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-12-14 20:37:05 +0000 |
commit | 8489e901fb16fe508e23a36cd3eff93d8332c2a2 (patch) | |
tree | f44f198838f5312fef40b68294c7acd4d74d7c41 | |
parent | 07c0a4952a9fe45e51c6ba5a2e19296e52ea6ec7 (diff) | |
download | pdfium-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>
-rw-r--r-- | testing/libfuzzer/xfa_codec_fuzzer.h | 5 |
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: |