Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
ImageMagick.28258
ImageMagick-CVE-2019-17540.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2019-17540.patch of Package ImageMagick.28258
Index: ImageMagick-7.0.7-34/coders/ps.c =================================================================== --- ImageMagick-7.0.7-34.orig/coders/ps.c +++ ImageMagick-7.0.7-34/coders/ps.c @@ -953,9 +953,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 ((MagickSizeType) 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