diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-09-27 10:58:52 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-27 16:12:07 +0000 |
commit | bacf75eeeb5d89fe60b2c77584350ca1b1432bd5 (patch) | |
tree | bbf956a86b103f5e470338e585ce8b924b08cd8b /testing/libfuzzer/pdf_fm2js_fuzzer.cc | |
parent | 875e98c581952478f3a3ccef9b2f2e3ed06c5346 (diff) | |
download | pdfium-bacf75eeeb5d89fe60b2c77584350ca1b1432bd5.tar.xz |
Replace FX_SAFE_STRSIZE with FX_SAFE_SIZE_T
BUG=pdfium:828
Change-Id: If9560338c456b28f968e743a90a3629791d87df0
Reviewed-on: https://pdfium-review.googlesource.com/14832
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'testing/libfuzzer/pdf_fm2js_fuzzer.cc')
-rw-r--r-- | testing/libfuzzer/pdf_fm2js_fuzzer.cc | 2 |
1 files changed, 1 insertions, 1 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; |