Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
podofo.8856
r1834-Fix-stack-overflow-crash-when-XRef-record...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r1834-Fix-stack-overflow-crash-when-XRef-record-references-itself.patch of Package podofo.8856
------------------------------------------------------------------------ r1834 | aja_ | 2017-03-24 20:12:10 +0100 (vie, 24 mar 2017) | 2 lines Fix stack overflow crash when XRef record references itself Index: src/base/PdfParser.cpp =================================================================== --- src/base/PdfParser.cpp (revision 1833) +++ src/base/PdfParser.cpp (revision 1834) @@ -855,7 +855,7 @@ xrefObject.ReadXRefTable(); # // Check for a previous XRefStm or xref table // Check for a previous XRef stream - if(xrefObject.HasPrevious()) + if(xrefObject.HasPrevious() && xrefObject.GetPreviousOffset() != lOffset) { try { m_nIncrementalUpdates++; ------------------------------------------------------------------------
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