diff options
author | Albert Astals Cid <aacid@kde.org> | 2018-06-12 09:00:33 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2018-06-12 09:00:33 +0200 |
commit | adb7cac1b787b35c4f5d25e0441e459ab92d0469 (patch) | |
tree | 7f3e70a7aca04f2415464deb9f2c776779ede706 | |
parent | 6b37df791731e40837fa1eba86ae740650431438 (diff) |
GfxImageColorMap: Initialize y to prevent uninit mem use
Fixes oss-fuzz/8839
-rw-r--r-- | poppler/GfxState.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poppler/GfxState.cc b/poppler/GfxState.cc index d3204795..157bcf44 100644 --- a/poppler/GfxState.cc +++ b/poppler/GfxState.cc @@ -5691,7 +5691,7 @@ GfxImageColorMap::GfxImageColorMap(int bitsA, Object *decode, Guchar *indexedLookup; Function *sepFunc; double x[gfxColorMaxComps]; - double y[gfxColorMaxComps]; + double y[gfxColorMaxComps] = {}; int i, j, k; double mapped; GBool useByteLookup; |