From 456cde93a928629bbf2ac64bda13ef7923359823 Mon Sep 17 00:00:00 2001 From: foxit Date: Thu, 10 Jul 2014 13:36:32 -0700 Subject: Fix uninitialized Storage BUG=387843 R=palmer@chromium.org Review URL: https://codereview.chromium.org/380293002 --- core/src/fxcodec/lcms2/lcms2-2.6/src/cmslut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/fxcodec/lcms2/lcms2-2.6/src/cmslut.c b/core/src/fxcodec/lcms2/lcms2-2.6/src/cmslut.c index c4f93467ca..a81811cb9f 100644 --- a/core/src/fxcodec/lcms2/lcms2-2.6/src/cmslut.c +++ b/core/src/fxcodec/lcms2/lcms2-2.6/src/cmslut.c @@ -1305,7 +1305,7 @@ void _LUTevalFloat(register const cmsFloat32Number In[], register cmsFloat32Numb { cmsPipeline* lut = (cmsPipeline*) D; cmsStage *mpe; - cmsFloat32Number Storage[2][MAX_STAGE_CHANNELS]; + cmsFloat32Number Storage[2][MAX_STAGE_CHANNELS] = {0.0f}; int Phase = 0, NextPhase; memmove(&Storage[Phase][0], In, lut ->InputChannels * sizeof(cmsFloat32Number)); -- cgit v1.2.3