summaryrefslogtreecommitdiff
path: root/tools/msan
diff options
context:
space:
mode:
authordan sinclair <dsinclair@chromium.org>2017-04-04 20:11:11 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-04-05 00:49:57 +0000
commitabf16c0682a545db4e9bae5510dd398a6ae634a3 (patch)
tree43c59e347ed117a8044dbb9901578ffe94102d1b /tools/msan
parentb2a40475ade2fe34a406472e53787bdac5a6950a (diff)
downloadpdfium-abf16c0682a545db4e9bae5510dd398a6ae634a3.tar.xz
Use correct length in guard check
When fixing https://crbug.com/672177 we added a guard that we aren't reading off the end of the file. That guard used the file access Position(). This is the wrong value to compare against as our read position and the file access Position may be different. This CL updates the check to use the correct current file position. Bug: pdfium:697 Change-Id: I68a5eaed2f1f3d65422605f0a8474144cfa7d172 Reviewed-on: https://pdfium-review.googlesource.com/3711 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'tools/msan')
0 files changed, 0 insertions, 0 deletions