Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:as_python3_module
podofo.34443
r1933-Really-fix-CVE-2017-7381.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r1933-Really-fix-CVE-2017-7381.patch of Package podofo.34443
------------------------------------------------------------------------ r1933 | mabri | 2018-07-16 02:34:38 +0200 (lun 16 de jul de 2018) | 2 líneas Really fix CVE-2017-7381 Index: src/doc/PdfPage.cpp =================================================================== --- src/doc/PdfPage.cpp (revisión: 1932) +++ src/doc/PdfPage.cpp (revisión: 1933) @@ -673,6 +673,10 @@ PdfObject* PdfPage::GetFromResources( const PdfName & rType, const PdfName & rKey ) { + if( m_pResources == NULL ) // Fix CVE-2017-7381 + { + PODOFO_RAISE_ERROR_INFO( ePdfError_InvalidHandle, "No Resources" ); + } if( m_pResources->GetDictionary().HasKey( rType ) ) { // OC 15.08.2010 BugFix: Ghostscript creates here sometimes an indirect reference to a directory ------------------------------------------------------------------------
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