Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
ImageMagick.18391
ImageMagick-CVE-2018-8960.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2018-8960.patch of Package ImageMagick.18391
Index: ImageMagick-6.8.8-1/coders/tiff.c =================================================================== --- ImageMagick-6.8.8-1.orig/coders/tiff.c 2018-04-18 11:20:04.917242246 +0200 +++ ImageMagick-6.8.8-1/coders/tiff.c 2018-04-18 11:21:42.810925660 +0200 @@ -1350,8 +1350,9 @@ RestoreMSCWarning if (((MagickSizeType) TIFFScanlineSize(tiff)) > GetBlobSize(image)) ThrowTIFFException(CorruptImageError,"InsufficientImageDataInFile"); pixels=(unsigned char *) AcquireMagickMemory(MagickMax( - TIFFScanlineSize(tiff),(size_t) (image->columns*samples_per_pixel* - pow(2.0,ceil(log(bits_per_sample)/log(2.0)))*sizeof(uint32)))); + TIFFScanlineSize(tiff),(ssize_t) MagickMax(image->columns* + samples_per_pixel*pow(2.0,ceil(log(bits_per_sample)/log(2.0))), + rows_per_strip)*sizeof(uint32))); if (pixels == (unsigned char *) NULL) ThrowTIFFException(ResourceLimitError,"MemoryAllocationFailed"); switch (method)
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