summaryrefslogtreecommitdiff
path: root/testing/libfuzzer
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-11-08 20:47:01 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-08 20:47:01 +0000
commitb5d688b8852d2fd3bf8b5c3f367c5941dda18401 (patch)
tree544fe56e32bd55f91a5093cff394e508dff1b9db /testing/libfuzzer
parentf96dfed065f9c6789811f43b69cd5ab4d85466ac (diff)
downloadpdfium-b5d688b8852d2fd3bf8b5c3f367c5941dda18401.tar.xz
Make most CPDF_LinearizedHeader members const.chromium/3263
Change-Id: I82907ad725861b9ccd6299f5dfe20ddb9d238178 Reviewed-on: https://pdfium-review.googlesource.com/17796 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing/libfuzzer')
-rw-r--r--testing/libfuzzer/pdf_hint_table_fuzzer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/libfuzzer/pdf_hint_table_fuzzer.cc b/testing/libfuzzer/pdf_hint_table_fuzzer.cc
index ac4229a5a9..ee51e25f24 100644
--- a/testing/libfuzzer/pdf_hint_table_fuzzer.cc
+++ b/testing/libfuzzer/pdf_hint_table_fuzzer.cc
@@ -49,7 +49,7 @@ class HintTableForFuzzing : public CPDF_HintTables {
class FakeLinearized : public CPDF_LinearizedHeader {
public:
explicit FakeLinearized(CPDF_Dictionary* linearized_dict)
- : CPDF_LinearizedHeader(linearized_dict) {}
+ : CPDF_LinearizedHeader(linearized_dict, 0) {}
};
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {