[poppler] poppler/GfxState.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Tue Jun 12 07:02:30 UTC 2018
poppler/GfxState.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit adb7cac1b787b35c4f5d25e0441e459ab92d0469
Author: Albert Astals Cid <aacid at kde.org>
Date: Tue Jun 12 09:00:33 2018 +0200
GfxImageColorMap: Initialize y to prevent uninit mem use
Fixes oss-fuzz/8839
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;
More information about the poppler
mailing list