Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
ImageMagick.22732
ImageMagick-CVE-2022-0284.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2022-0284.patch of Package ImageMagick.22732
Index: ImageMagick-7.0.7-34/coders/xpm.c =================================================================== --- ImageMagick-7.0.7-34.orig/coders/xpm.c 2022-02-08 15:21:57.258034731 +0100 +++ ImageMagick-7.0.7-34/coders/xpm.c 2022-02-08 15:21:57.546036411 +0100 @@ -737,7 +737,7 @@ static MagickBooleanType WritePICONImage break; for (x=0; x < (ssize_t) picon->columns; x++) { - if (GetPixelAlpha(image,q) == (Quantum) TransparentAlpha) + if (GetPixelAlpha(picon,q) == (Quantum) TransparentAlpha) transparent=MagickTrue; else SetPixelAlpha(picon,OpaqueAlpha,q); @@ -764,7 +764,7 @@ static MagickBooleanType WritePICONImage break; for (x=0; x < (ssize_t) picon->columns; x++) { - if (GetPixelAlpha(image,q) == (Quantum) TransparentAlpha) + if (GetPixelAlpha(picon,q) == (Quantum) TransparentAlpha) SetPixelIndex(picon,(Quantum) picon->colors,q); q+=GetPixelChannels(picon); }
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