poppler/GfxState.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit eb1291f86260124071e12226294631ce685eaad6
Author: Albert Astals Cid <aa...@kde.org>
Date:   Wed Jul 11 00:26:01 2018 +0200

    GfxPatchMeshShading::getParameterizedColor: Fix uninitialized memory read
    
    fixes oss-fuzz/9264

diff --git a/poppler/GfxState.cc b/poppler/GfxState.cc
index e4b08e71..956a214b 100644
--- a/poppler/GfxState.cc
+++ b/poppler/GfxState.cc
@@ -5669,7 +5669,7 @@ GfxPatchMeshShading 
*GfxPatchMeshShading::parse(GfxResources *res, int typeA, Di
 }
 
 void GfxPatchMeshShading::getParameterizedColor(double t, GfxColor *color) {
-  double out[gfxColorMaxComps];
+  double out[gfxColorMaxComps] = {};
 
   for (int j = 0; j < nFuncs; ++j) {
     funcs[j]->transform(&t, &out[j]);
_______________________________________________
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to