Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
ImageMagick.22732
ImageMagick-CVE-2020-27775.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2020-27775.patch of Package ImageMagick.22732
Index: ImageMagick-7.0.7-34/MagickCore/statistic.c =================================================================== --- ImageMagick-7.0.7-34.orig/MagickCore/statistic.c 2020-12-08 17:29:23.303460291 +0100 +++ ImageMagick-7.0.7-34/MagickCore/statistic.c 2020-12-08 17:29:23.407461000 +0100 @@ -368,8 +368,12 @@ static double ApplyEvaluateOperator(Rand } case PowEvaluateOperator: { - result=(double) (QuantumRange*pow((double) (QuantumScale*pixel),(double) - value)); + if (pixel < 0) + result=(double) -(QuantumRange*pow((double) -(QuantumScale*pixel), + (double) value)); + else + result=(double) (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