[poppler] poppler/JBIG2Stream.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Wed May 30 07:09:43 UTC 2018


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

New commits:
commit 450a8a54e080b5bb80533b1777b3b670bea1f27a
Author: Albert Astals Cid <aacid at kde.org>
Date:   Wed May 30 09:09:12 2018 +0200

    JBIG2Stream::readSymbolDictSeg: Initialize refDY
    
    fixes oss-fuzz/8621

diff --git a/poppler/JBIG2Stream.cc b/poppler/JBIG2Stream.cc
index ebeb645e..8722cb9b 100644
--- a/poppler/JBIG2Stream.cc
+++ b/poppler/JBIG2Stream.cc
@@ -1562,7 +1562,7 @@ GBool JBIG2Stream::readSymbolDictSeg(Guint segNum, Guint length,
   JBIG2Bitmap *collBitmap, *refBitmap;
   Guint *symWidths;
   Guint symHeight, symWidth, totalWidth, x, symID;
-  int dh, dw, refAggNum, refDX, refDY, bmSize;
+  int dh, dw, refAggNum, refDX, refDY = 0, bmSize;
   GBool ex;
   int run, cnt, c;
   Guint i, j, k;


More information about the poppler mailing list