xref: /aosp_15_r20/external/pdfium/third_party/lcms/0003-old-uninitialized-in-LUTevalFloat.patch (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1diff --git a/third_party/lcms/src/cmslut.c b/third_party/lcms/src/cmslut.c
2index df3dfc1ad..45f05c61d 100644
3--- a/third_party/lcms/src/cmslut.c
4+++ b/third_party/lcms/src/cmslut.c
5@@ -1321,7 +1321,7 @@ void _LUTevalFloat(register const cmsFloat32Number In[], register cmsFloat32Numb
6 {
7     cmsPipeline* lut = (cmsPipeline*) D;
8     cmsStage *mpe;
9-    cmsFloat32Number Storage[2][MAX_STAGE_CHANNELS];
10+    cmsFloat32Number Storage[2][MAX_STAGE_CHANNELS] = {0.0f};
11     int Phase = 0, NextPhase;
12
13     memmove(&Storage[Phase][0], In, lut ->InputChannels  * sizeof(cmsFloat32Number));
14