[poppler] poppler/CMap.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Tue May 29 18:18:50 UTC 2018


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

New commits:
commit f821faa1795c1b25104d84e9f5a7e8ad218baa61
Author: Albert Astals Cid <aacid at kde.org>
Date:   Tue May 29 20:18:26 2018 +0200

    CMap::parse2: Initialize start
    
    fixes oss-fuzz/8611

diff --git a/poppler/CMap.cc b/poppler/CMap.cc
index 01bff352..60562e61 100644
--- a/poppler/CMap.cc
+++ b/poppler/CMap.cc
@@ -234,7 +234,7 @@ void CMap::parse2(CMapCache *cache, int (*getCharFunc)(void *), void *data) {
   PSTokenizer *pst;
   char tok1[256], tok2[256], tok3[256];
   int n1, n2, n3;
-  Guint start, end, code;
+  Guint start = 0, end, code;
 
   pst = new PSTokenizer(getCharFunc, data);
   pst->getToken(tok1, sizeof(tok1), &n1);


More information about the poppler mailing list