summaryrefslogtreecommitdiff
path: root/testing/libfuzzer/pdf_codec_jbig2_fuzzer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libfuzzer/pdf_codec_jbig2_fuzzer.cc')
-rw-r--r--testing/libfuzzer/pdf_codec_jbig2_fuzzer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/libfuzzer/pdf_codec_jbig2_fuzzer.cc b/testing/libfuzzer/pdf_codec_jbig2_fuzzer.cc
index 9a2ebd2e32..ac3c5c3260 100644
--- a/testing/libfuzzer/pdf_codec_jbig2_fuzzer.cc
+++ b/testing/libfuzzer/pdf_codec_jbig2_fuzzer.cc
@@ -28,7 +28,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
size -= kParameterSize;
data += kParameterSize;
- static constexpr uint32_t kMemLimit = 1024 * 1024 * 1024; // 1 GB.
+ static constexpr uint32_t kMemLimit = 512000000; // 512 MB
static constexpr uint32_t k1bppRgbComponents = 4; // From CFX_DIBitmap impl.
FX_SAFE_UINT32 mem = width;
mem *= height;