diff options
author | Nicolas Pena <npm@chromium.org> | 2017-03-10 15:46:49 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-10 21:32:42 +0000 |
commit | e472622d33bdca2316a22ff5ff8d77ac975c2eb2 (patch) | |
tree | c41aad4ee5094513ca5f14072a40e5a25429fbdd /testing/fx_string_testhelpers.cpp | |
parent | 6791295a4e8c99097e6d75870871e128284f8cb5 (diff) | |
download | pdfium-chromium/3039.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 'testing/fx_string_testhelpers.cpp')
0 files changed, 0 insertions, 0 deletions