summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorfoxit <jun_fang@foxitsoftware.com>2014-07-10 13:36:32 -0700
committerfoxit <jun_fang@foxitsoftware.com>2014-07-10 13:36:32 -0700
commit456cde93a928629bbf2ac64bda13ef7923359823 (patch)
tree3091299262c84782577c3cd96d8c92db330d38a0 /core/src
parentfab88961a74df2a15e163d3a3431004a0fa79293 (diff)
downloadpdfium-456cde93a928629bbf2ac64bda13ef7923359823.tar.xz
Fix uninitialized Storage
BUG=387843 R=palmer@chromium.org Review URL: https://codereview.chromium.org/380293002
Diffstat (limited to 'core/src')
-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 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));