summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/pdfium/third_party/lcms/0031-wrong-tag-element-count.patch
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/pdfium/third_party/lcms/0031-wrong-tag-element-count.patch')
-rw-r--r--chromium/third_party/pdfium/third_party/lcms/0031-wrong-tag-element-count.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium/third_party/pdfium/third_party/lcms/0031-wrong-tag-element-count.patch b/chromium/third_party/pdfium/third_party/lcms/0031-wrong-tag-element-count.patch
new file mode 100644
index 00000000000..a62bc3de6d9
--- /dev/null
+++ b/chromium/third_party/pdfium/third_party/lcms/0031-wrong-tag-element-count.patch
@@ -0,0 +1,12 @@
+diff --git a/third_party/lcms/src/cmsio0.c b/third_party/lcms/src/cmsio0.c
+index cc5f89064..63bbe36a8 100644
+--- a/third_party/lcms/src/cmsio0.c
++++ b/third_party/lcms/src/cmsio0.c
+@@ -1616,6 +1616,7 @@ void* CMSEXPORT cmsReadTag(cmsHPROFILE hProfile, cmsTagSignature sig)
+ _cmsTagSignature2String(String, sig);
+ cmsSignalError(Icc ->ContextID, cmsERROR_CORRUPTION_DETECTED, "'%s' Inconsistent number of items: expected %d, got %d",
+ String, TagDescriptor ->ElemCount, ElemCount);
++ goto Error;
+ }
+
+