diff options
Diffstat (limited to 'testing/fuzzers/pdf_codec_jbig2_fuzzer.cc')
-rw-r--r-- | testing/fuzzers/pdf_codec_jbig2_fuzzer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/fuzzers/pdf_codec_jbig2_fuzzer.cc b/testing/fuzzers/pdf_codec_jbig2_fuzzer.cc index 7b8e2aac33..8d59760f31 100644 --- a/testing/fuzzers/pdf_codec_jbig2_fuzzer.cc +++ b/testing/fuzzers/pdf_codec_jbig2_fuzzer.cc @@ -41,7 +41,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { return 0; auto stream = pdfium::MakeUnique<CPDF_Stream>(); - stream->AsStream()->SetData(data, size); + stream->AsStream()->SetData({data, size}); auto src_stream = pdfium::MakeRetain<CPDF_StreamAcc>(stream->AsStream()); src_stream->LoadAllDataRaw(); |