Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
podofo.34526
podofo-CVE-2019-20093.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File podofo-CVE-2019-20093.patch of Package podofo.34526
--- tools/podofoimgextract/ImageExtractor.cpp.orig 2010-02-15 14:28:13.000000000 -0600 +++ tools/podofoimgextract/ImageExtractor.cpp 2022-04-19 14:12:42.752150294 -0500 @@ -117,6 +117,11 @@ void ImageExtractor::ExtractImage( PdfOb //long lBitsPerComponent = pObject->GetDictionary().GetKey( PdfName("BitsPerComponent" ) )->GetNumber(); // TODO: Handle colorspaces + if ( !pObject->GetDictionary().HasKey( PdfName("Width" ) ) || !pObject->GetDictionary().HasKey( PdfName("Height" ) ) ) + { + PODOFO_RAISE_ERROR( ePdfError_BrokenFile ); + } + // Create a ppm image const char* pszPpmHeader = "P6\n# Image extracted by PoDoFo\n%li %li\n%li\n";
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