diff options
author | dsinclair <dsinclair@chromium.org> | 2016-08-30 10:27:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-30 10:27:03 -0700 |
commit | f7252a074ed013e2ad3cc11e08eba90502262ce0 (patch) | |
tree | f8d9e23e94fd4615343d8fd663bafb1f6d68bdc1 /core/fpdfapi/fpdf_render | |
parent | 50034a679249390852ac26a4119d35fbe124300e (diff) | |
download | pdfium-f7252a074ed013e2ad3cc11e08eba90502262ce0.tar.xz |
Guard against overflow when calculating font weight.
This CL uses the safe math libraries when calculating the font weight from
the StemV value as very large values for StemV can cause the signed int to
overflow.
BUG=chromium:641418
Review-Url: https://codereview.chromium.org/2293633002
Diffstat (limited to 'core/fpdfapi/fpdf_render')
0 files changed, 0 insertions, 0 deletions