summaryrefslogtreecommitdiff
path: root/public/fpdf_ext.h
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-03-10 15:46:49 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-03-10 21:32:42 +0000
commite472622d33bdca2316a22ff5ff8d77ac975c2eb2 (patch)
treec41aad4ee5094513ca5f14072a40e5a25429fbdd /public/fpdf_ext.h
parent6791295a4e8c99097e6d75870871e128284f8cb5 (diff)
downloadpdfium-e472622d33bdca2316a22ff5ff8d77ac975c2eb2.tar.xz
Bound cbox from tricky faceschromium/3040chromium/3039chromium/3038
The cbox values are long. We should make sure they are not too big before putting them into FX_RECT, which holds integers. The bound is chosen to also avoid overflow when multiplying by 1000. BUG=chromium:699961 Change-Id: Ie4443848e0319348110f7215bd1c909ef19dad9f Reviewed-on: https://pdfium-review.googlesource.com/2956 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'public/fpdf_ext.h')
0 files changed, 0 insertions, 0 deletions