Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15
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.62.0/poppler/Parser.cc =================================================================== --- poppler-0.62.0.orig/poppler/Parser.cc +++ poppler-0.62.0/poppler/Parser.cc @@ -291,8 +292,15 @@ Stream *Parser::makeStream(Object &&dict // get filters str = str->addFilters(str->getDict(), 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