[poppler] poppler/JBIG2Stream.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Tue Jun 5 17:57:13 UTC 2018


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

New commits:
commit 2c629fefe2b2b1e2663521beeac432c808afe7c7
Author: Albert Astals Cid <aacid at kde.org>
Date:   Tue Jun 5 19:56:53 2018 +0200

    JBIG2Stream::readSymbolDictSeg: Initialize dh
    
    fixes oss-fuzz/8751

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


More information about the poppler mailing list