Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
podofo.34526
r1836-Fix-for-CVE-2017-5854.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r1836-Fix-for-CVE-2017-5854.patch of Package podofo.34526
------------------------------------------------------------------------ r1836 | aja_ | 2017-04-07 19:36:12 +0200 (vie, 07 abr 2017) | 2 lines Fix for CVE-2017-5854 Index: tools/podofopdfinfo/pdfinfo.cpp =================================================================== --- tools/podofopdfinfo/pdfinfo.cpp (revision 1835) +++ tools/podofopdfinfo/pdfinfo.cpp (revision 1836) @@ -207,6 +207,10 @@ for ( int pg=0; pg<pgCount; pg++ ) { curPage = mDoc->GetPage( pg ); + if( !curPage ) + { + PODOFO_RAISE_ERROR( PoDoFo::ePdfError_PageNotFound ); + } rect = curPage->GetMediaBox(); Format s( rect.GetWidth() - rect.GetLeft(), rect.GetHeight() - rect.GetBottom()); sIt = sizes.find(s); ------------------------------------------------------------------------
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