summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/libfuzzer/xfa_codec_fuzzer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/libfuzzer/xfa_codec_fuzzer.h b/testing/libfuzzer/xfa_codec_fuzzer.h
index f3a3517a12..38c4e0ac33 100644
--- a/testing/libfuzzer/xfa_codec_fuzzer.h
+++ b/testing/libfuzzer/xfa_codec_fuzzer.h
@@ -19,7 +19,8 @@ class XFACodecFuzzer {
mgr->CreateProgressiveDecoder());
Reader source(data, size);
- FXCODEC_STATUS status = decoder->LoadImageInfo(&source, type, nullptr);
+ FXCODEC_STATUS status =
+ decoder->LoadImageInfo(&source, type, nullptr, true);
if (status != FXCODEC_STATUS_FRAME_READY)
return 0;