Projects
Eulaceura:Factory
podofo
_service:obs_scm:podofo_CVE-2019-20093.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:podofo_CVE-2019-20093.patch of Package podofo
diff -rupN --no-dereference podofo-0.10.3/tools/podofoimgextract/ImageExtractor.cpp podofo-0.10.3-new/tools/podofoimgextract/ImageExtractor.cpp --- podofo-0.10.3/tools/podofoimgextract/ImageExtractor.cpp 2023-11-28 10:23:37.000000000 +0100 +++ podofo-0.10.3-new/tools/podofoimgextract/ImageExtractor.cpp 2023-12-07 08:44:38.717337352 +0100 @@ -88,6 +88,11 @@ void ImageExtractor::ExtractImage(const //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* ppmHeader = "P6\n# Image extracted by PoDoFo\n%u %u\n%li\n";
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2