From: Cristy Date: Fri, 9 Mar 2018 11:37:50 +0000 (-0500) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6802 X-Git-Tag: 7.0.7-26~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=262b6ecd39c26dd0c87f3857a9e1e0495eba7773;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6802 --- diff --git a/MagickCore/fx.c b/MagickCore/fx.c index 52b206da8..658a666b3 100644 --- a/MagickCore/fx.c +++ b/MagickCore/fx.c @@ -1359,7 +1359,8 @@ static double FxGetSymbol(FxInfo *fx_info,const PixelChannel channel, &depth,&beta,exception); point.x=alpha; point.y=beta; - p++; + if (*p != '\0') + p++; } else if (*p == '[')