From a4fbddd3af1805aa8aad63688591ffc57d49cd5f Mon Sep 17 00:00:00 2001 From: Cristy Date: Fri, 2 Feb 2018 20:12:23 -0500 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5891 --- MagickCore/fx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.40.0