Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
ImageMagick.18391
ImageMagick-CVE-2021-20176.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageMagick-CVE-2021-20176.patch of Package ImageMagick.18391
Index: ImageMagick-6.8.8-1/magick/gem.c =================================================================== --- ImageMagick-6.8.8-1.orig/magick/gem.c 2013-12-01 15:47:50.000000000 +0100 +++ ImageMagick-6.8.8-1/magick/gem.c 2021-02-09 12:21:38.749932577 +0100 @@ -1595,7 +1595,7 @@ MagickExport double GenerateDifferential beta=GetPseudoRandomValue(random_info); alpha*=beta; } - noise=(double) (QuantumRange*i/SigmaPoisson); + noise=(double) (QuantumRange*i*PerceptibleReciprocal(SigmaPoisson)); break; } case RandomNoise: Index: ImageMagick-6.8.8-1/magick/accelerate-private.h =================================================================== --- ImageMagick-6.8.8-1.orig/magick/accelerate-private.h 2013-12-07 14:52:57.000000000 +0100 +++ ImageMagick-6.8.8-1/magick/accelerate-private.h 2021-02-09 12:21:38.749932577 +0100 @@ -2419,7 +2419,7 @@ const char* accelerateKernels = beta=GetPseudoRandomValue(r); alpha*=beta; } - noise=(float) (QuantumRange*i/SigmaPoisson); + noise=(float) (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