]> granicus.if.org Git - imagemagick/commitdiff
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6091
authorCristy <urban-warrior@imagemagick.org>
Thu, 8 Feb 2018 02:15:16 +0000 (21:15 -0500)
committerCristy <urban-warrior@imagemagick.org>
Thu, 8 Feb 2018 02:15:16 +0000 (21:15 -0500)
MagickCore/fx.c

index b51ab11f7b323052b4330b6f91318be7804ef346..130635ca7c029b7aa79dd2f9d1676735158b5d60 100644 (file)
@@ -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++;