Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
podofo
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
------------------------------------------------------------------------ r1933 | mabri | 2018-07-16 02:34:38 +0200 (lun, 16 jul 2018) | 2 lines Really fix CVE-2017-7381 Index: src/doc/PdfPage.cpp =================================================================== --- src/doc/PdfPage.cpp (revision 1932) +++ src/doc/PdfPage.cpp (revision 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