diff options
author | Ryan Harrison <rharrison@chromium.org> | 2017-08-11 16:24:25 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-11 21:17:14 +0000 |
commit | 05ea7e1ae677d0d5872f7ccbaf28f594ad6d94d9 (patch) | |
tree | 614345906f074f412a56d398e2a7473071673e34 /third_party | |
parent | b1a794a9a2e5fcb8d69665bd347b349fecfe4877 (diff) | |
download | pdfium-05ea7e1ae677d0d5872f7ccbaf28f594ad6d94d9.tar.xz |
Remove potential out of bounds call to GetAt()
Since m_pos is passed into GetAt() on the underlying string in
getCurrentChar(), the value of it needs to confirmed to be valid after
decrementing. Some types were changed to reflect the values being
stored.
BUG=chromium:752480
Change-Id: Ib6d6f52326defd31785e70a17049a08b64dbe069
Reviewed-on: https://pdfium-review.googlesource.com/10652
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions