Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:Update
podofo.23798
r1937-Really-fix-CVE-2017-7383.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r1937-Really-fix-CVE-2017-7383.patch of Package podofo.23798
------------------------------------------------------------------------ r1937 | mabri | 2018-08-25 00:07:55 +0200 (sáb 25 de ago de 2018) | 1 línea Really fix CVE-2017-7383 Index: src/doc/PdfFontFactory.cpp =================================================================== --- src/doc/PdfFontFactory.cpp (revisión: 1936) +++ src/doc/PdfFontFactory.cpp (revisión: 1937) @@ -192,8 +192,14 @@ PdfObject* pDescriptor = NULL; PdfObject* pEncoding = NULL; - if( pObject->GetDictionary().GetKey( PdfName::KeyType )->GetName() != PdfName("Font") ) + PdfVariant* pTypeKey = pObject->GetDictionary().GetKey( PdfName::KeyType ); + if ( NULL == pTypeKey ) { + PODOFO_RAISE_ERROR_INFO( ePdfError_InvalidDataType, "Font: No Type" ); + } + + if( pTypeKey->GetName() != PdfName("Font") ) + { PODOFO_RAISE_ERROR( ePdfError_InvalidDataType ); } ------------------------------------------------------------------------
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