Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
poppler-qt.30207
poppler-null-XRef.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File poppler-null-XRef.patch of Package poppler-qt.30207
diff --git a/poppler/Lexer.cc b/poppler/Lexer.cc index c6205299..a0a5cd09 100644 --- a/poppler/Lexer.cc +++ b/poppler/Lexer.cc @@ -591,7 +591,7 @@ Object *Lexer::getObj(Object *obj, const char *cmdA, int objNum) { comment = gFalse; const char *cmd1 = tokBuf; *tokBuf = 0; - while (strcmp(cmdA, cmd1) && (objNum < 0 || xref->getNumEntry(getPos()) == objNum)) { + while (strcmp(cmdA, cmd1) && (objNum < 0 || (xref && xref->getNumEntry(getPos()) == objNum))) { while (1) { if ((c = getChar()) == EOF) { return obj->initEOF();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor