summaryrefslogtreecommitdiff
path: root/testing/resources
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-08-30 10:27:03 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-30 10:27:03 -0700
commitf7252a074ed013e2ad3cc11e08eba90502262ce0 (patch)
treef8d9e23e94fd4615343d8fd663bafb1f6d68bdc1 /testing/resources
parent50034a679249390852ac26a4119d35fbe124300e (diff)
downloadpdfium-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 'testing/resources')
0 files changed, 0 insertions, 0 deletions