]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sun, 29 Sep 2019 12:33:01 +0000 (08:33 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sun, 29 Sep 2019 12:33:01 +0000 (08:33 -0400)
MagickCore/draw.c

index 4f305263f83ac0c4a1ac898c8ce05974f936d2a0..2e9418bebae01971edda4f3532b867e81260e37b 100644 (file)
@@ -6096,6 +6096,8 @@ static MagickBooleanType TraceArcPath(MVGInfo *mvg_info,const PointInfo start,
     if (i == (ssize_t) (arc_segments-1))
       (p+3)->point=end;
     status&=TraceBezier(mvg_info,4);
+    if (status == 0)
+      break;
     p=(*mvg_info->primitive_info)+mvg_info->offset;
     mvg_info->offset+=p->coordinates;
     p+=p->coordinates;