From: Cristy Date: Sat, 13 Apr 2019 15:37:41 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-41~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=650fee25dfe19baf2f453bf521f442779a8d1c85;p=imagemagick ... --- diff --git a/MagickCore/xml-tree.c b/MagickCore/xml-tree.c index 3945820e4..1f0d684da 100644 --- a/MagickCore/xml-tree.c +++ b/MagickCore/xml-tree.c @@ -2058,8 +2058,8 @@ MagickExport XMLTreeInfo *NewXMLTree(const char *xml,ExceptionInfo *exception) attributes=(char **) AcquireQuantumMemory(4, sizeof(*attributes)); else - attributes=(char **) ResizeQuantumMemory(attributes, - (size_t) (l+4),sizeof(*attributes)); + attributes=(char **) ResizeQuantumMemory(attributes,(size_t) + (l+4),sizeof(*attributes)); if (attributes == (char **) NULL) { (void) ThrowMagickException(exception,GetMagickModule(),