summaryrefslogtreecommitdiff
path: root/third_party/lcms/README.pdfium
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-08-14 10:36:01 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-14 15:02:17 +0000
commit0bd847232a1f430c70dd9d8df177ce68a3cde010 (patch)
tree15cec8c11493549f1974ae2f6aeac58234c176d2 /third_party/lcms/README.pdfium
parentdff02cee2d2410d81a55c59345fb38b5aac8a457 (diff)
downloadpdfium-0bd847232a1f430c70dd9d8df177ce68a3cde010.tar.xz
LCMS: upgrade to 2.8
This CL upgrades LCMS from version 2.6 to 2.8. All changes from LCMS original version 2.8 are stored in patch files: - Patch 0: memory management modifications to use PDFium methods. This was previously not in any patch, so the changes were manually applied. - Patches 1-5: new patch files corresponding to old changes that can be seen in the history, but did not previously have patch files. - Patches 6-25: previous patches (patch numbers shifted by 6). The one for from16-to-8-overflow.patch was deleted as it was already upstream. Some patches did not apply cleanly so their .patch files were modified. - Patch 26: as I just moved files directly, unsupported characters were moved in unchanged, so I had to fix all of them: e with tilde and other characters were replaced to allow compilation on Windows. - Patch 27: Went over the code and re-applied changes that included comments clearly indicating this was Foxit. These changes are all already seen in the initial PDFium commit. Change-Id: Ic1d84e54803ef9e6b280ef7619bbf0b757312fbf Reviewed-on: https://pdfium-review.googlesource.com/10590 Commit-Queue: Nicolás Peña <npm@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'third_party/lcms/README.pdfium')
-rw-r--r--third_party/lcms/README.pdfium50
1 files changed, 28 insertions, 22 deletions
diff --git a/third_party/lcms/README.pdfium b/third_party/lcms/README.pdfium
index 94dc67a7e3..3167130c56 100644
--- a/third_party/lcms/README.pdfium
+++ b/third_party/lcms/README.pdfium
@@ -1,6 +1,6 @@
Name: Little CMS
URL: http://www.littlecms.com/
-Version: 2.6
+Version: 2.8
Security Critical: yes
License: MIT License
@@ -9,27 +9,33 @@ Color Management Engine.
Local Modifications:
-0000-tag-type-confusion.patch: Fix a type confusion.
-0001-from16-to-8-overflow.patch: Prevent a UBSan warning.
-0002-infinite-loop-GrowNamedColorList.patch: Fix infinite loop when calling GrowNamedColorList.
-0003-uninit.patch: Fix use uninitialized value and stack buffer overflow read.
-0004-memory-leak-Type_Curve_Read.patch: Fix memory leak in Type_Curve_Read.
-0005-memory-leak-AllocEmptyTransform.patch: Fix memory leak in AllocEmptyTransform.
-0006-memory-leak-Type_NamedColor_Read.patch: Fix memory leak in Type_NamedColor_Read.
-0007-memory-leak-OptimizeByResampling.patch: Fix memory leak in OptimizeByResampling.
-0008-memory-leak-Type_MPEmatrix_Read.patch: Fix memory leak in MPEmatrix_Read.
-0009-cmsStageAllocMatrix-param-swap.patch: Fix rows/cols swap in cmsStageAllocMatrix.
-0010-reject-nan.patch: Reject NaN when reading float numbers.
-0011-memory-leak-ReadSegmentedCurve.patch: Fix memory leak in ReadSegmentedCurve.
-0012-backport-c0a98d86.patch: Fix several issues. Backport from upstream
+0000-cmserr-changes.patch: change LCMS memory management methods to use PDFium's.
+0001-fix-include.patch: fix include in lcms2_internal.h.
+0002-old-performance-fix.patch: https://codereview.chromium.org/534363002/
+0003-old-uninitialized-in-LUTevalFloat.patch: https://codereview.chromium.org/380293002/
+0004-old-uninitialized-in-LUTeval16.patch: https://codereview.chromium.org/387273002/
+0005-old-fix-e-with-tilde.patch: like https://codereview.chromium.org/2411123003/ but better.
+0006-tag-type-confusion.patch: Fix a type confusion.
+0008-infinite-loop-GrowNamedColorList.patch: Fix infinite loop when calling GrowNamedColorList.
+0009-uninit.patch: Fix use uninitialized value and stack buffer overflow read.
+0010-memory-leak-Type_Curve_Read.patch: Fix memory leak in Type_Curve_Read.
+0011-memory-leak-AllocEmptyTransform.patch: Fix memory leak in AllocEmptyTransform.
+0012-memory-leak-Type_NamedColor_Read.patch: Fix memory leak in Type_NamedColor_Read.
+0013-memory-leak-OptimizeByResampling.patch: Fix memory leak in OptimizeByResampling.
+0014-memory-leak-Type_MPEmatrix_Read.patch: Fix memory leak in MPEmatrix_Read.
+0015-cmsStageAllocMatrix-param-swap.patch: Fix rows/cols swap in cmsStageAllocMatrix.
+0016-reject-nan.patch: Reject NaN when reading float numbers.
+0017-memory-leak-ReadSegmentedCurve.patch: Fix memory leak in ReadSegmentedCurve.
+0018-backport-c0a98d86.patch: Fix several issues. Backport from upstream
https://github.com/mm2/Little-CMS/commit/c0a98d86
-0013-utf8.patch: Encode source files as utf-8.
-0014-avoid-fixed-inf.patch: Avoid fixed number LUT optimization on inf values.
-0015-sanitize-float-read.patch: Sanitize floating point read. Partially backport
+0019-utf8.patch: Encode source files as utf-8.
+0020-avoid-fixed-inf.patch: Avoid fixed number LUT optimization on inf values.
+0021-sanitize-float-read.patch: Sanitize floating point read. Partially backport
from upstream https://github.com/mm2/Little-CMS/commit/4011a6e3
-0016-check-LUT-and-MPE.patch: check LUT consistency and sanitize MPE profiles.
-0017-upstream-integer-overflow-MPEmatrix_Read.patch: fix some integer overflows.
-0018-verify-size-before-reading.patch: fix OOM issue when there won't be enough
+0022-check-LUT-and-MPE.patch: check LUT consistency and sanitize MPE profiles.
+0023-upstream-integer-overflow-MPEmatrix_Read.patch: fix some integer overflows.
+0024-verify-size-before-reading.patch: fix OOM issue when there won't be enough
data to read anyway.
-0019-upstream-direct-leak-Type_MPE_Read.patch: fix leak in cmstypes.c.
-TODO(ochang): List other patches.
+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.