[poppler] poppler/Gfx.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Fri May 25 20:52:53 UTC 2018


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

New commits:
commit 71bb82bdecccc235e15255635cab2c31cce58e0e
Author: Albert Astals Cid <aacid at kde.org>
Date:   Fri May 25 22:52:31 2018 +0200

    Gfx::doAxialShFill: initialize color0
    
    fixes oss-fuzz/8470

diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index f7cea495..1190dcaf 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