diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-05-05 14:31:12 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-05 22:09:54 +0000 |
commit | ab20404199d3897f753861413014be28d259a6cc (patch) | |
tree | 8a6701159298db3cbe4391d0ec12677478e2a215 /testing/libfuzzer/pdf_codec_jbig2_fuzzer.cc | |
parent | 60cc3baa05136bccf5d77e0b2cf3000817915bcd (diff) | |
download | pdfium-ab20404199d3897f753861413014be28d259a6cc.tar.xz |
Split out CPDF_CMap::m_pLeading into separate members.chromium/3093chromium/3092
Avoid casting willy-nill over uint8_t*s, since there's at
least one place where the wrong cast could be applied.
Use std::vector<> as well.
Use ByteRange struct to avoid the seg[i * 2 + 1] anti-pattern.
Change-Id: I9278ccc3a545b2640f0daf101a0c8b1d5c5564f8
Reviewed-on: https://pdfium-review.googlesource.com/5012
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing/libfuzzer/pdf_codec_jbig2_fuzzer.cc')
0 files changed, 0 insertions, 0 deletions