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

New commits:
commit 9c0c538e8d1aa39cd136cfb8fe0fbfe1def5174d
Author: Albert Astals Cid <aa...@kde.org>
Date:   Sun May 27 09:34:16 2018 +0200

    Gfx::doAxialShFill: initialize color1
    
    fixes oss-fuzz/8546

diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index 1190dcaf..4183e4f7 100644
--- a/poppler/Gfx.cc
+++ b/poppler/Gfx.cc
@@ -2603,7 +2603,7 @@ void Gfx::doAxialShFill(GfxAxialShading *shading) {
   double t0, t1, tt;
   double ta[axialMaxSplits + 1];
   int next[axialMaxSplits + 1];
-  GfxColor color0 = {}, color1;
+  GfxColor color0 = {}, color1 = {};
   int nComps;
   int i, j, k;
   GBool needExtend = gTrue;
_______________________________________________
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to