[poppler] poppler/Parser.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Nov 3 00:46:12 UTC 2018


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

New commits:
commit 89fccf45fc5bfca3756102e6bec1950ec1d436a9
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sat Nov 3 01:45:55 2018 +0100

    initialize entry

diff --git a/poppler/Parser.cc b/poppler/Parser.cc
index 733cdbb0..87745414 100644
--- a/poppler/Parser.cc
+++ b/poppler/Parser.cc
@@ -198,7 +198,7 @@ Stream *Parser::makeStream(Object &&dict, Guchar *fileKey,
   Stream *str;
   Goffset length;
   Goffset pos, endPos;
-  XRefEntry *entry;
+  XRefEntry *entry = nullptr;
 
   if (xref && (entry = xref->getEntry(objNum, false))) {
     if (!entry->getFlag(XRefEntry::Parsing) ||


More information about the poppler mailing list