From 8434565a62dcf0cabf8cdf0e35317efbb16a8d8c Mon Sep 17 00:00:00 2001 From: foxit Date: Mon, 14 Jul 2014 14:46:37 -0700 Subject: Fix uninitialized Storage in _LUTeval16 BUG=387826 R=palmer@chromium.org Review URL: https://codereview.chromium.org/387273002 --- core/src/fxcodec/lcms2/lcms2-2.6/src/cmslut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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); -- cgit v1.2.3