Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
poppler
poppler-setFlag-invalid-read.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File poppler-setFlag-invalid-read.patch of Package poppler
Index: poppler-0.43.0/poppler/Parser.cc =================================================================== --- poppler-0.43.0.orig/poppler/Parser.cc +++ poppler-0.43.0/poppler/Parser.cc @@ -299,8 +299,15 @@ Stream *Parser::makeStream(Object *dict, // get filters str = str->addFilters(dict, recursion); - if (entry) - entry->setFlag(XRefEntry::Parsing, false); + if (entry) { + // Don't try to reuse the entry from the block at the start + // of the function, xref can change in the middle because of + // reconstruction + XRefEntry *e = xref->getEntry(objNum, false); + if (e) { + e->setFlag(XRefEntry::Parsing, false); + } + } return str; }
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