Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
podofo
0004-Fix-for-CVE-2017-5854.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0004-Fix-for-CVE-2017-5854.patch of Package podofo
Subject: Fix for CVE-2017-5854 Url: https://sourceforge.net/p/podofo/code/1836/ --- a/podofo/trunk/tools/podofopdfinfo/pdfinfo.cpp +++ b/podofo/trunk/tools/podofopdfinfo/pdfinfo.cpp @@ -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