From 28ba536e302da2d4e6644344af6a4de1430121f6 Mon Sep 17 00:00:00 2001 From: Cristy Date: Wed, 14 Feb 2018 07:16:46 -0500 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6308 --- MagickCore/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/draw.c b/MagickCore/draw.c index eac32d9ff..cd48710e1 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -3890,7 +3890,7 @@ static double GetFillAlpha(PolygonInfo *polygon_info,const double mid, } else { - alpha=1.0/alpha; + alpha=PerceptibleReciprocal(alpha); beta=delta.x*(y-q->y)-delta.y*(x-q->x); distance=alpha*beta*beta; } -- 2.40.0