Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
ImageMagick.30956
ImageMagick-CVE-2017-5508.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2017-5508.patch of Package ImageMagick.30956
Index: ImageMagick-6.8.8-1/coders/tiff.c =================================================================== --- ImageMagick-6.8.8-1.orig/coders/tiff.c 2017-01-19 21:46:12.406713893 +0100 +++ ImageMagick-6.8.8-1/coders/tiff.c 2017-01-19 21:49:16.793704205 +0100 @@ -1314,7 +1314,9 @@ RestoreMSCWarning method=ReadTileMethod; quantum_info->endian=LSBEndian; quantum_type=RGBQuantum; - pixels=(unsigned char *) AcquireMagickMemory(TIFFScanlineSize(tiff)+sizeof(uint32)); + 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)))))); if (pixels == (unsigned char *) NULL) { TIFFClose(tiff);
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