Commit ab89688f3 for imagemagick.org

commit ab89688f34618fba733275ff718a6088c463ba4c
Author: Cristy <urban-warrior@imagemagick.org>
Date:   Mon Apr 27 19:24:50 2026 -0400

    https://github.com/ImageMagick/ImageMagick6/issues/420

diff --git a/MagickCore/draw.c b/MagickCore/draw.c
index 76e599f88..1c524424d 100644
--- a/MagickCore/draw.c
+++ b/MagickCore/draw.c
@@ -3449,7 +3449,7 @@ static MagickBooleanType RenderMVGContent(Image *image,
                 }
                 if ((q == (char *) NULL) || (*q == '\0') ||
                     (p == (char *) NULL) || ((q-4) < p) ||
-                    ((q-p+4+1) > MagickPathExtent))
+                    ((q-p+4+1) > extent))
                   {
                     status=MagickFalse;
                     break;