diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-05-15 18:59:46 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-15 18:59:46 +0000 |
commit | 6137483528225c1dc102db44fb2c2bce6c256534 (patch) | |
tree | 8dc95914968969ce433665d08a2d60bda1cfb953 /testing/image_diff/image_diff.cpp | |
parent | 6595905a9e6080cfc9a99310b597d66463a7eb2f (diff) | |
download | pdfium-6137483528225c1dc102db44fb2c2bce6c256534.tar.xz |
Cap size of exponent when converting floats
When detecting the exponent on a floating point number, cap the maximum
amount we'll multiply by otherwise we can get excessivly large numbers.
Bug: chromium:843074
Change-Id: I6a8d1b4c20b66e305d2727f464119b1e74beb699
Reviewed-on: https://pdfium-review.googlesource.com/32570
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'testing/image_diff/image_diff.cpp')
0 files changed, 0 insertions, 0 deletions