File bnc559109.patch of Package ImageMagick

--- magick/xml-tree.c.orig	2011-04-15 21:11:16.490740597 +0200
+++ magick/xml-tree.c	2011-04-15 21:11:51.700658043 +0200
@@ -1870,6 +1870,8 @@ MagickExport XMLTreeInfo *NewXMLTree(con
                     *p++='\0';
                   else
                     {
+                      attributes[l]=ConstantString("");
+                      attributes[l+1]=ConstantString("");
                       (void) DestroyXMLTreeAttributes(attributes);
                       (void) ThrowMagickException(exception,GetMagickModule(),
                         OptionWarning,"ParseError","missing %c",c);
openSUSE Build Service is sponsored by