[poppler] poppler/Gfx.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sun May 27 07:34:44 UTC 2018


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

New commits:
commit 9c0c538e8d1aa39cd136cfb8fe0fbfe1def5174d
Author: Albert Astals Cid <aacid at 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;


More information about the poppler mailing list