From 5d3171ffa3c79bf1aee47bb9678ce04a4fc6e05a Mon Sep 17 00:00:00 2001 From: Cristy Date: Wed, 7 Feb 2018 21:15:16 -0500 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6091 --- MagickCore/fx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MagickCore/fx.c b/MagickCore/fx.c index b51ab11f7..130635ca7 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -1384,7 +1384,8 @@ static double FxGetSymbol(FxInfo *fx_info,const PixelChannel channel, &depth,&beta,exception); point.x+=alpha; point.y+=beta; - p++; + if (*p != '\0') + p++; } if (*p == '.') p++; -- 2.40.0