Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
ImageMagick.29424
ImageMagick-CVE-2020-27771.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2020-27771.patch of Package ImageMagick.29424
Index: ImageMagick-6.8.8-1/coders/pdf.c =================================================================== --- ImageMagick-6.8.8-1.orig/coders/pdf.c 2020-12-07 10:54:06.120126573 +0100 +++ ImageMagick-6.8.8-1/coders/pdf.c 2020-12-07 10:56:05.204801003 +0100 @@ -1987,7 +1987,7 @@ RestoreMSCWarning break; indexes=GetVirtualIndexQueue(image); for (x=0; x < (ssize_t) image->columns; x++) - *q++=(unsigned char) GetPixelIndex(indexes+x); + *q++=(unsigned char) ((ssize_t) GetPixelIndex(indexes+x)); if (image->previous == (Image *) NULL) { status=SetImageProgress(image,SaveImageTag, @@ -2029,7 +2029,7 @@ RestoreMSCWarning indexes=GetVirtualIndexQueue(image); for (x=0; x < (ssize_t) image->columns; x++) Ascii85Encode(image,(unsigned char) - GetPixelIndex(indexes+x)); + ((ssize_t) GetPixelIndex(indexes+x))); if (image->previous == (Image *) NULL) { status=SetImageProgress(image,SaveImageTag, @@ -2450,7 +2450,7 @@ RestoreMSCWarning break; indexes=GetVirtualIndexQueue(tile_image); for (x=0; x < (ssize_t) tile_image->columns; x++) - *q++=(unsigned char) GetPixelIndex(indexes+x); + *q++=(unsigned char) ((ssize_t) GetPixelIndex(indexes+x)); } #if defined(MAGICKCORE_ZLIB_DELEGATE) if (compression == ZipCompression) @@ -2485,7 +2485,7 @@ RestoreMSCWarning indexes=GetVirtualIndexQueue(tile_image); for (x=0; x < (ssize_t) tile_image->columns; x++) Ascii85Encode(image,(unsigned char) - GetPixelIndex(indexes+x)); + ((ssize_t) GetPixelIndex(indexes+x))); } Ascii85Flush(image); break;
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