diff options
Diffstat (limited to 'testing/libfuzzer')
-rw-r--r-- | testing/libfuzzer/pdf_fm2js_fuzzer.cc | 2 | ||||
-rw-r--r-- | testing/libfuzzer/pdf_xml_fuzzer.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testing/libfuzzer/pdf_fm2js_fuzzer.cc b/testing/libfuzzer/pdf_fm2js_fuzzer.cc index 438d1025ad..c93804a92e 100644 --- a/testing/libfuzzer/pdf_fm2js_fuzzer.cc +++ b/testing/libfuzzer/pdf_fm2js_fuzzer.cc @@ -11,7 +11,7 @@ #include "xfa/fxfa/fm2js/cxfa_fm2jscontext.h" extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { - FX_SAFE_STRSIZE safe_size = size; + FX_SAFE_SIZE_T safe_size = size; if (!safe_size.IsValid()) return 0; diff --git a/testing/libfuzzer/pdf_xml_fuzzer.cc b/testing/libfuzzer/pdf_xml_fuzzer.cc index 0c3cf4fb3f..d8010f90f8 100644 --- a/testing/libfuzzer/pdf_xml_fuzzer.cc +++ b/testing/libfuzzer/pdf_xml_fuzzer.cc @@ -46,7 +46,7 @@ CFX_XMLNode* XFA_FDEExtension_GetDocumentNode( } // namespace extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { - FX_SAFE_STRSIZE safe_size = size; + FX_SAFE_SIZE_T safe_size = size; if (!safe_size.IsValid()) return 0; |