Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
ImageMagick.29424
ImageMagick-CVE-2020-27764.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2020-27764.patch of Package ImageMagick.29424
Index: ImageMagick-6.8.8-1/magick/statistic.c =================================================================== --- ImageMagick-6.8.8-1.orig/magick/statistic.c 2020-12-04 14:40:57.330502044 +0100 +++ ImageMagick-6.8.8-1/magick/statistic.c 2020-12-04 14:40:57.362502240 +0100 @@ -277,7 +277,7 @@ static MagickRealType ApplyEvaluateOpera } case AndEvaluateOperator: { - result=(MagickRealType) ((size_t) pixel & (size_t) (value+0.5)); + result=(MagickRealType) ((ssize_t) pixel & (ssize_t) (value+0.5)); break; } case CosineEvaluateOperator: @@ -362,7 +362,7 @@ static MagickRealType ApplyEvaluateOpera } case OrEvaluateOperator: { - result=(MagickRealType) ((size_t) pixel | (size_t) (value+0.5)); + result=(MagickRealType) ((ssize_t) pixel | (ssize_t) (value+0.5)); break; } case PoissonNoiseEvaluateOperator: @@ -430,7 +430,7 @@ static MagickRealType ApplyEvaluateOpera } case XorEvaluateOperator: { - result=(MagickRealType) ((size_t) pixel ^ (size_t) (value+0.5)); + result=(MagickRealType) ((ssize_t) pixel ^ (ssize_t) (value+0.5)); 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