summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_simple_parser.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-12-05 20:26:33 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-05 20:26:33 +0000
commit099fc90d25059f19919471301f459949c566846f (patch)
tree581ffe03269c3192d1f8f55a803562bc96221d50 /xfa/fxfa/parser/cxfa_simple_parser.h
parent12ec6760afd92b63d185854008a55762fe39f866 (diff)
downloadpdfium-099fc90d25059f19919471301f459949c566846f.tar.xz
Avoid integer overflows in CPDF_FixedMatrix::Transform().
Use floating point math and saturated_cast to calculate the transform. Refactor CFX_BilinearMatrix::Transform() to share common code, instead of using integer math and CheckedNumerics. BUG=chromium:791048 Change-Id: Ib3812b3b3b9373a8eb3b1dde12cb28d424e0bb3e Reviewed-on: https://pdfium-review.googlesource.com/20390 Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_simple_parser.h')
0 files changed, 0 insertions, 0 deletions