summaryrefslogtreecommitdiff
path: root/core/fpdfapi/cmaps/fpdf_cmaps.cpp
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2018-02-16 18:20:37 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-16 18:20:37 +0000
commit228d415eb4966e9d146fcfee48ca357d4a25bba8 (patch)
tree98f904002454bdfb13a89e90c6bb141f984c01b8 /core/fpdfapi/cmaps/fpdf_cmaps.cpp
parent818632b0bb2f94bfba4acb518b6e08d20eda4b17 (diff)
downloadpdfium-228d415eb4966e9d146fcfee48ca357d4a25bba8.tar.xz
Add ASSERT to check OOB m_CharCodes
It seems m_CharCodes is in rare cases being corrupted, this CL adds ASSERTS to catch whether the corruption is due to out-of-bounds element access. Bug: 782215 Change-Id: I555ad1ccc2de3c35b2e06496f7216fba770f0759 Reviewed-on: https://pdfium-review.googlesource.com/27030 Commit-Queue: Nicolás Peña Moreno <npm@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfapi/cmaps/fpdf_cmaps.cpp')
0 files changed, 0 insertions, 0 deletions