[poppler] poppler/CMap.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Tue Jun 5 18:00:39 UTC 2018


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

New commits:
commit a231de883b438af1807726fab4265ecf4689cf50
Author: Albert Astals Cid <aacid at kde.org>
Date:   Tue Jun 5 20:00:03 2018 +0200

    CMap::parse2: Initialize end
    
    fixes oss-fuzz/8747

diff --git a/poppler/CMap.cc b/poppler/CMap.cc
index 60562e61..614009b7 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 = 0, end, code;
+  Guint start = 0, end = 0, code;
 
   pst = new PSTokenizer(getCharFunc, data);
   pst->getToken(tok1, sizeof(tok1), &n1);


More information about the poppler mailing list