summaryrefslogtreecommitdiff
path: root/core/fpdfapi/font/cpdf_font.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-04-12 14:06:29 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-12 14:06:29 +0000
commit59a8f48571fc1e1b11f070c54e5d75b8b1c2e9a2 (patch)
tree443b15c7a1b376b2802da357b88e93d1c1e65d0d /core/fpdfapi/font/cpdf_font.cpp
parent7023b8877475dda639a15d623b5a552f88a6812f (diff)
downloadpdfium-59a8f48571fc1e1b11f070c54e5d75b8b1c2e9a2.tar.xz
Bounds check in CPDF_CMap::GetNextChar.
These were kicked loose when we converted to span<>, and there isn't any reason to believe that the remaining string is long enough to complete a multibyte sequence. Bug: 831100 Change-Id: Iae4363f72b4d7ff088a73994d0fe5dab4077ee9e Reviewed-on: https://pdfium-review.googlesource.com/30291 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfapi/font/cpdf_font.cpp')
0 files changed, 0 insertions, 0 deletions