From d38f3f044f32c6c1609a4254ed086a7032fe12ad Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 9 Mar 2019 08:58:02 -0500 Subject: [PATCH] ... --- MagickCore/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/draw.c b/MagickCore/draw.c index 8ebff2680..8532fe0cd 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -2263,7 +2263,7 @@ static MagickBooleanType CheckPrimitiveExtent(MVGInfo *mvg_info, i; *mvg_info->extent=(size_t) extent; - for (i=mvg_info->offset; i < (ssize_t) extent; i++) + for (i=mvg_info->offset+1; i < (ssize_t) extent; i++) (*mvg_info->primitive_info)[i].primitive=UndefinedPrimitive; return(MagickTrue); } -- 2.40.0