summaryrefslogtreecommitdiff
path: root/third_party/lcms/README.pdfium
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-08-22 11:01:51 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-25 18:03:45 +0000
commit175a8588f4290df8ec32d697c0248eb5c6b2c396 (patch)
tree43822c8c1beb00fd05623292def2da96b5c294bb /third_party/lcms/README.pdfium
parent8ada2ef8000abce4eb98506cc6195c78067f1000 (diff)
downloadpdfium-175a8588f4290df8ec32d697c0248eb5c6b2c396.tar.xz
Do not QuickFloor on cmsintrp
In this CL, the flag CMS_DONT_USE_FAST_FLOOR is set to true because quickfloor could cause heap-buffer-overflow due to flooring errors. In the testcase for the bug, Input[2] is a number very close but smaller than 1 such that quickfloor returned 1 (whereas Input[2] >= 1.0 was false). Bug: chromium:752725 Change-Id: Ibb1763aa120a600e86602f1a46c4cd6d0d6bebd5 Reviewed-on: https://pdfium-review.googlesource.com/11310 Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'third_party/lcms/README.pdfium')
-rw-r--r--third_party/lcms/README.pdfium1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/lcms/README.pdfium b/third_party/lcms/README.pdfium
index 3167130c56..f8fe7e749e 100644
--- a/third_party/lcms/README.pdfium
+++ b/third_party/lcms/README.pdfium
@@ -39,3 +39,4 @@ Local Modifications:
0025-upstream-direct-leak-Type_MPE_Read.patch: fix leak in cmstypes.c.
0026-more-unsupported-characters.patch: remove other unsupported characters.
0027-changes-from-beginning-of-time.patch: commented changes from initial commit.
+0028-do-not-quickfloor.patch: flooring errors may cause heap-buffer-overflow.