Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:Update
ImageMagick.30356
ImageMagick-CVE-2021-20176.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2021-20176.patch of Package ImageMagick.30356
Index: ImageMagick-7.0.7-34/MagickCore/accelerate-kernels-private.h =================================================================== --- ImageMagick-7.0.7-34.orig/MagickCore/accelerate-kernels-private.h 2018-05-20 17:55:42.000000000 +0200 +++ ImageMagick-7.0.7-34/MagickCore/accelerate-kernels-private.h 2021-02-09 12:18:46.996905112 +0100 @@ -816,7 +816,7 @@ OPENCL_ENDIF() beta=mwcReadPseudoRandomValue(r); alpha*=beta; } - noise=(QuantumRange*i/SigmaPoisson); + noise=(QuantumRange*i*PerceptibleReciprocal(SigmaPoisson)); break; } case RandomNoise: Index: ImageMagick-7.0.7-34/MagickCore/gem.c =================================================================== --- ImageMagick-7.0.7-34.orig/MagickCore/gem.c 2018-05-20 17:55:43.000000000 +0200 +++ ImageMagick-7.0.7-34/MagickCore/gem.c 2021-02-09 12:18:46.996905112 +0100 @@ -1518,7 +1518,7 @@ MagickPrivate double GenerateDifferentia beta=GetPseudoRandomValue(random_info); alpha*=beta; } - noise=(double) (QuantumRange*i/SigmaPoisson); + noise=(double) (QuantumRange*i*PerceptibleReciprocal(SigmaPoisson)); break; } case RandomNoise:
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