From 6d1e1ddf5d78c4e7b80b2da5b63236e01e24d0fd Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 22 Jun 2019 21:52:20 -0400 Subject: [PATCH] ... --- MagickCore/draw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MagickCore/draw.c b/MagickCore/draw.c index e1e22a11a..6dca3bc84 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -2562,6 +2562,7 @@ static MagickBooleanType RenderMVGContent(Image *image, cursor=0.0; macros=GetMVGMacros(primitive); status=MagickTrue; + status=QueryColorCompliance(token,AllCompliance,&stops[0].color,exception); for (q=primitive; *q != '\0'; ) { /* @@ -2583,6 +2584,7 @@ static MagickBooleanType RenderMVGContent(Image *image, primitive_type=UndefinedPrimitive; current=graphic_context[n]->affine; GetAffineMatrix(&affine); + (void) memset(token,0,primitive_extent+1); switch (*keyword) { case ';': -- 2.40.0