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 ac3c5c3260..7b8e2aac33 100644
--- a/testing/libfuzzer/pdf_codec_jbig2_fuzzer.cc
+++ b/testing/libfuzzer/pdf_codec_jbig2_fuzzer.cc
@@ -44,7 +44,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
stream->AsStream()->SetData(data, size);
auto src_stream = pdfium::MakeRetain<CPDF_StreamAcc>(stream->AsStream());
- src_stream->LoadAllData(true);
+ src_stream->LoadAllDataRaw();
CCodec_Jbig2Module module;
CCodec_Jbig2Context jbig2_context;