[poppler] poppler/JBIG2Stream.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon May 28 22:59:46 UTC 2018


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

New commits:
commit e35fdb1448b7860d697b9c2ec8bda49c7a8a3ae5
Author: Albert Astals Cid <aacid at kde.org>
Date:   Tue May 29 00:59:22 2018 +0200

    JBIG2Stream::readTextRegion: Initialize ds
    
    fixes oss-fuzz/8594

diff --git a/poppler/JBIG2Stream.cc b/poppler/JBIG2Stream.cc
index fb0407a5..ebeb645e 100644
--- a/poppler/JBIG2Stream.cc
+++ b/poppler/JBIG2Stream.cc
@@ -2337,7 +2337,7 @@ JBIG2Bitmap *JBIG2Stream::readTextRegion(GBool huff, GBool refine,
   JBIG2Bitmap *bitmap;
   JBIG2Bitmap *symbolBitmap;
   Guint strips;
-  int t = 0, dt = 0, tt, s, ds, sFirst, j;
+  int t = 0, dt = 0, tt, s, ds = 0, sFirst, j;
   int rdw, rdh, rdx, rdy, ri = 0, refDX, refDY, bmSize;
   Guint symID, inst, bw, bh;
 


More information about the poppler mailing list