diff options
author | dsinclair <dsinclair@chromium.org> | 2016-09-15 12:21:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-15 12:21:39 -0700 |
commit | 4935e606c632e38af8fca1729f8688fa0d152b90 (patch) | |
tree | e24d2ac486c4b5029ed2d02c0328647e01bf8f78 /third_party/libtiff/tif_write.c | |
parent | 72177dadac8f9765440b3aa01e2668f60a8b3f43 (diff) | |
download | pdfium-4935e606c632e38af8fca1729f8688fa0d152b90.tar.xz |
Use safe math when rendering line segments in AGG.
It is possible for the calculations in outline_aa::render_line to overflow
as the |p| variable is calculated. This Cl updates the routine to use
checked math when calculating the value of |p|.
BUG=chromium:647026
Review-Url: https://codereview.chromium.org/2347603002
Diffstat (limited to 'third_party/libtiff/tif_write.c')
0 files changed, 0 insertions, 0 deletions