From: Cristy Date: Thu, 8 Feb 2018 02:15:16 +0000 (-0500) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6091 X-Git-Tag: 7.0.7-23~101 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d3171ffa3c79bf1aee47bb9678ce04a4fc6e05a;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6091 --- 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++;