Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
ImageMagick
ImageMagick-CVE-2019-17540.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2019-17540.patch of Package ImageMagick
Index: ImageMagick-6.8.8-1/coders/ps.c =================================================================== --- ImageMagick-6.8.8-1.orig/coders/ps.c +++ ImageMagick-6.8.8-1/coders/ps.c @@ -572,9 +572,9 @@ static Image *ReadPSImage(const ImageInf Read Photoshop profile. */ count=(ssize_t) sscanf(command,PhotoshopProfile " %lu",&extent); - if (count != 1) + if ((count != 1) || (extent == 0)) continue; - length=extent; + length=(size_t) extent; if (length > GetBlobSize(image)) ThrowReaderException(CorruptImageError,"InsufficientImageDataInFile"); profile=BlobToStringInfo((const void *) NULL,length);
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