summaryrefslogtreecommitdiff
path: root/third_party/lcms/0004-old-uninitialized-in-LUTeval16.patch
blob: dce315257d8b8b1173b8253ac78b037815e6a70b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);