]> granicus.if.org Git - imagemagick/commitdiff
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7297
authorCristy <urban-warrior@imagemagick.org>
Mon, 2 Apr 2018 22:41:27 +0000 (18:41 -0400)
committerCristy <urban-warrior@imagemagick.org>
Mon, 2 Apr 2018 22:41:27 +0000 (18:41 -0400)
MagickCore/fx.c

index 2aeab5e028d41fa0fb413a019a84f6a131e20785..f6b42ad466163fff232d4b6bcaf6a0ea5d46dc70 100644 (file)
@@ -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); \