From: Cristy Date: Sat, 3 Feb 2018 01:12:23 +0000 (-0500) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5891 X-Git-Tag: 7.0.7-23~183 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4fbddd3af1805aa8aad63688591ffc57d49cd5f;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5891 --- diff --git a/MagickCore/fx.c b/MagickCore/fx.c index c62f56800..75cea78a4 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -2334,8 +2334,8 @@ static double FxEvaluateSubexpression(FxInfo *fx_info, } default: { - gamma=alpha*FxEvaluateSubexpression(fx_info,channel,x,y,p,depth,beta, - exception); + gamma=alpha*FxEvaluateSubexpression(fx_info,channel,x,y,++p,depth, + beta,exception); return(gamma); } }