summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_datetime.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-09-15 12:21:39 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-15 12:21:39 -0700
commit4935e606c632e38af8fca1729f8688fa0d152b90 (patch)
treee24d2ac486c4b5029ed2d02c0328647e01bf8f78 /fpdfsdk/cpdfsdk_datetime.cpp
parent72177dadac8f9765440b3aa01e2668f60a8b3f43 (diff)
downloadpdfium-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 'fpdfsdk/cpdfsdk_datetime.cpp')
0 files changed, 0 insertions, 0 deletions