summaryrefslogtreecommitdiff
path: root/chromium/third_party/pdfium/third_party/lcms/0004-old-uninitialized-in-LUTeval16.patch
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-03-28 11:50:14 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-03-29 10:20:07 +0000
commit45ed09101724148401a193e20e3545c8f3de4df2 (patch)
treef10e99c38c5b36048007b70f4dd3fa3594787eda /chromium/third_party/pdfium/third_party/lcms/0004-old-uninitialized-in-LUTeval16.patch
parenta5f2293e6c2b5218875806626bee683e0501c179 (diff)
downloadqtwebengine-chromium-45ed09101724148401a193e20e3545c8f3de4df2.tar.gz
[Backport] Update LCMSv5.9.8
Including fix for Chrome security issue 872189 Change-Id: Ibb02f48346bfab74012cb8b091b984546ae04251 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'chromium/third_party/pdfium/third_party/lcms/0004-old-uninitialized-in-LUTeval16.patch')
-rw-r--r--chromium/third_party/pdfium/third_party/lcms/0004-old-uninitialized-in-LUTeval16.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/chromium/third_party/pdfium/third_party/lcms/0004-old-uninitialized-in-LUTeval16.patch b/chromium/third_party/pdfium/third_party/lcms/0004-old-uninitialized-in-LUTeval16.patch
new file mode 100644
index 00000000000..dce315257d8
--- /dev/null
+++ b/chromium/third_party/pdfium/third_party/lcms/0004-old-uninitialized-in-LUTeval16.patch
@@ -0,0 +1,13 @@
+diff --git a/third_party/lcms/src/cmslut.c b/third_party/lcms/src/cmslut.c
+index 45f05c61d..18b88a545 100644
+--- a/third_party/lcms/src/cmslut.c
++++ b/third_party/lcms/src/cmslut.c
+@@ -1295,7 +1295,7 @@ void _LUTeval16(register const cmsUInt16Number In[], register cmsUInt16Number Ou
+ {
+ cmsPipeline* lut = (cmsPipeline*) D;
+ cmsStage *mpe;
+- cmsFloat32Number Storage[2][MAX_STAGE_CHANNELS];
++ cmsFloat32Number Storage[2][MAX_STAGE_CHANNELS] = {0.0f};
+ int Phase = 0, NextPhase;
+
+ From16ToFloat(In, &Storage[Phase][0], lut ->InputChannels);