Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
podofo
0015-Fix-CVE-2017-7380-NULL-dereference-in-PdfP...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0015-Fix-CVE-2017-7380-NULL-dereference-in-PdfPage-GetFromResources.patch of Package podofo
Subject: Fix CVE-2017-7380: NULL dereference in PdfPage::GetFromResources() Url: https://sourceforge.net/p/podofo/code/1848/ --- a/podofo/trunk/src/doc/PdfPage.cpp +++ b/podofo/trunk/src/doc/PdfPage.cpp @@ -642,7 +642,7 @@ // OC 15.08.2010 BugFix: Ghostscript creates here sometimes an indirect reference to a directory // PdfObject* pType = m_pResources->GetDictionary().GetKey( rType ); PdfObject* pType = m_pResources->GetIndirectKey( rType ); - if( pType->IsDictionary() && pType->GetDictionary().HasKey( rKey ) ) + if( pType && pType->IsDictionary() && pType->GetDictionary().HasKey( rKey ) ) { const PdfReference & ref = pType->GetDictionary().GetKey( rKey )->GetReference(); return this->GetObject()->GetOwner()->GetObject( ref );
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