Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
podofo.35911
r1936-Really-fix-CVE-2017-7382.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r1936-Really-fix-CVE-2017-7382.patch of Package podofo.35911
------------------------------------------------------------------------ r1936 | mabri | 2018-08-24 23:40:46 +0200 (vie 24 de ago de 2018) | 1 línea Really fix CVE-2017-7382 Index: src/doc/PdfFontFactory.cpp =================================================================== --- src/doc/PdfFontFactory.cpp (revisión: 1935) +++ src/doc/PdfFontFactory.cpp (revisión: 1936) @@ -197,7 +197,13 @@ PODOFO_RAISE_ERROR( ePdfError_InvalidDataType ); } - const PdfName & rSubType = pObject->GetDictionary().GetKey( PdfName::KeySubtype )->GetName(); + PdfVariant* pSubTypeKey = pObject->GetDictionary() + .GetKey( PdfName::KeySubtype ); + if ( NULL == pSubTypeKey ) + { + PODOFO_RAISE_ERROR_INFO( ePdfError_InvalidDataType, "Font: No SubType" ); + } + const PdfName & rSubType = pSubTypeKey->GetName(); if( rSubType == PdfName("Type0") ) { // The PDF reference states that DescendantFonts must be an array, ------------------------------------------------------------------------
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