[poppler] poppler/JBIG2Stream.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon Jun 4 18:39:45 UTC 2018


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

New commits:
commit 0053966d3ec5b5c4eb6480417b2c8a8ccd910964
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon Jun 4 20:38:41 2018 +0200

    JBIG2Stream::readSymbolDictSeg: Initialize refDX
    
    fixes oss-fuzz/8696

diff --git a/poppler/JBIG2Stream.cc b/poppler/JBIG2Stream.cc
index 8722cb9b..b7a11da4 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 = 0, bmSize;
+  int dh, dw, refAggNum, refDX = 0, refDY = 0, bmSize;
   GBool ex;
   int run, cnt, c;
   Guint i, j, k;


More information about the poppler mailing list