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

New commits:
commit 653d743771ed778e46be8c14cccf4fb7e2205b74
Author: Albert Astals Cid <[email protected]>
Date:   Thu Dec 27 17:53:53 2018 +0100

    JBIG2Stream: Fix uninitialized memory read on broken files
    
    fixes oss-fuzz/12243

diff --git a/poppler/JBIG2Stream.cc b/poppler/JBIG2Stream.cc
index b4e55c94..2c12f7b6 100644
--- a/poppler/JBIG2Stream.cc
+++ b/poppler/JBIG2Stream.cc
@@ -2023,7 +2023,7 @@ void JBIG2Stream::readTextRegionSeg(unsigned int segNum, 
bool imm,
   unsigned int numInstances, numSyms, symCodeLen;
   int atx[2], aty[2];
   unsigned int i, k, kk;
-  int j;
+  int j = 0;
 
   // region segment info field
   if (!readULong(&w) || !readULong(&h) ||
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to