Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
ImageMagick.29977
ImageMagick-CVE-2020-27775.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2020-27775.patch of Package ImageMagick.29977
Index: ImageMagick-6.8.8-1/magick/statistic.c =================================================================== --- ImageMagick-6.8.8-1.orig/magick/statistic.c 2020-12-08 17:40:34.444008815 +0100 +++ ImageMagick-6.8.8-1/magick/statistic.c 2020-12-08 17:40:34.540009464 +0100 @@ -373,8 +373,12 @@ static MagickRealType ApplyEvaluateOpera } case PowEvaluateOperator: { - result=(MagickRealType) (QuantumRange*pow((double) (QuantumScale*pixel), - (double) value)); + if (pixel < 0) + result=(MagickRealType) -(QuantumRange*pow((double) -(QuantumScale* + pixel),(double) value)); + else + result=(MagickRealType) (QuantumRange*pow((double) (QuantumScale*pixel), + (double) value)); break; } case RightShiftEvaluateOperator:
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