summaryrefslogtreecommitdiff
path: root/third_party/agg23/README.pdfium
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 /third_party/agg23/README.pdfium
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 'third_party/agg23/README.pdfium')
-rw-r--r--third_party/agg23/README.pdfium1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/agg23/README.pdfium b/third_party/agg23/README.pdfium
index 8e055d2079..4b1ff49146 100644
--- a/third_party/agg23/README.pdfium
+++ b/third_party/agg23/README.pdfium
@@ -15,3 +15,4 @@ Possibly more?
0001-gcc-warning.patch: Fix a GCC warning about both enumeral and
non-enumeral type in conditional.
0002-ubsan-error-fixes.path: Fix UBSan errors for overflows.
+0003-ubsan-render-line-error.patch: Fix UBSan overflow error in render_line.