summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoxit <jun_fang@foxitsoftware.com>2014-07-14 14:46:37 -0700
committerfoxit <jun_fang@foxitsoftware.com>2014-07-14 14:46:37 -0700
commit8434565a62dcf0cabf8cdf0e35317efbb16a8d8c (patch)
tree77e147a48ccb95b5f84d7f77514d46b0f71b00a6
parent9114e831cc8ae619ce541719887c5d7c2fc4e6d1 (diff)
downloadpdfium-8434565a62dcf0cabf8cdf0e35317efbb16a8d8c.tar.xz
Fix uninitialized Storage in _LUTeval16
BUG=387826 R=palmer@chromium.org Review URL: https://codereview.chromium.org/387273002
-rw-r--r--core/src/fxcodec/lcms2/lcms2-2.6/src/cmslut.c2
1 files changed, 1 insertions, 1 deletions
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 a81811cb9f..73e6726bf4 100644
--- a/core/src/fxcodec/lcms2/lcms2-2.6/src/cmslut.c
+++ b/core/src/fxcodec/lcms2/lcms2-2.6/src/cmslut.c
@@ -1279,7 +1279,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);