From b0991bfcbaf683f424ab047b556cd19ddc944dfe Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 2 Apr 2018 18:41:27 -0400 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7297 --- MagickCore/fx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/fx.c b/MagickCore/fx.c index 2aeab5e02..f6b42ad46 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -2102,7 +2102,7 @@ static double FxEvaluateSubexpression(FxInfo *fx_info, ExceptionInfo *exception) { #define FxMaxParenthesisDepth 58 -#define FxMaxSubexpressionDepth 600 +#define FxMaxSubexpressionDepth 200 #define FxReturn(value) \ { \ subexpression=DestroyString(subexpression); \ -- 2.40.0