summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-05-03 12:35:59 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-03 16:49:52 +0000
commit746babded81e9de3fc132fd670386382c031fa74 (patch)
treea1a7b6d68fc7aa8ff11c145955371371000b4fda /BUILD.gn
parent1e5a98afd195930de69f7b468a852717722377b6 (diff)
downloadpdfium-746babded81e9de3fc132fd670386382c031fa74.tar.xz
SetPos to at most the file length to avoid overflows
This CL prevents arbitrary position setting which may cause integer overflows. In the bug in question, the PDF says the xrefs are located in a huge position. This then causes problems when calling CPDF_SyntaxParser methods. Bug: chromium:603545 Change-Id: I5f94c38f46a0217e9f12f1bf8b2f3bee3b03cb35 Reviewed-on: https://pdfium-review.googlesource.com/4813 Commit-Queue: Nicolás Peña <npm@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'BUILD.gn')
0 files changed, 0 insertions, 0 deletions