Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
ImageMagick.28259
ImageMagick-CVE-2020-27761.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2020-27761.patch of Package ImageMagick.28259
Index: ImageMagick-6.8.8-1/coders/palm.c =================================================================== --- ImageMagick-6.8.8-1.orig/coders/palm.c 2020-12-04 12:18:43.946290918 +0100 +++ ImageMagick-6.8.8-1/coders/palm.c 2020-12-04 12:18:43.978291114 +0100 @@ -888,10 +888,10 @@ static MagickBooleanType WritePALMImage( { for (x=0; x < (ssize_t) image->columns; x++) { - color16=(unsigned short) ((((31*(size_t) GetPixelRed(p))/ - (size_t) QuantumRange) << 11) | - (((63*(size_t) GetPixelGreen(p))/(size_t) QuantumRange) << 5) | - ((31*(size_t) GetPixelBlue(p))/(size_t) QuantumRange)); + color16=(unsigned short) ((((31*(ssize_t) GetPixelRed(p))/ + (ssize_t) QuantumRange) << 11) | + (((63*(ssize_t) GetPixelGreen(p))/(ssize_t) QuantumRange) << 5) | + ((31*(ssize_t) GetPixelBlue(p))/(ssize_t) QuantumRange)); if (GetPixelOpacity(p) == (Quantum) TransparentOpacity) { transpix.red=GetPixelRed(p);
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