From: cristy Date: Thu, 1 May 2014 00:52:50 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2374 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20b9e9a797a9fca97c2cfd1ddc469d50385b7f01;p=imagemagick --- diff --git a/MagickCore/xml-tree.c b/MagickCore/xml-tree.c index 21bb0ae0d..c514880cf 100644 --- a/MagickCore/xml-tree.c +++ b/MagickCore/xml-tree.c @@ -1796,6 +1796,7 @@ static MagickBooleanType ParseInternalDoctype(XMLTreeRoot *root,char *xml, *xml='\0'; i=0; while ((root->attributes[i] != (char **) NULL) && + (n != (char *) NULL) && (strcmp(n,root->attributes[i][0]) != 0)) i++; while ((*(n=xml+strspn(xml+1,XMLWhitespace)+1) != '\0') &&