[poppler] poppler/JBIG2Stream.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon Jul 16 23:06:12 UTC 2018


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

New commits:
commit 155897f3cb88db5050b9d16dc50bfd8b660077b6
Author: Albert Astals Cid <aacid at kde.org>
Date:   Tue Jul 17 01:05:38 2018 +0200

    JBIG2Stream::readTextRegion: Fix uninitialized memory read
    
    fixes oss-fuzz/9381

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


More information about the poppler mailing list