[Pkg-gmagick-im-team] Bug#1033324: Debian 11 ImageMagicks policy.xml is an invalid xml file

Jérémie Grauer jeremie.grauer at cosium.com
Wed Mar 22 15:48:47 GMT 2023


Package: imagemagick
Version: 8:6.9.11.60+dfsg-1.3+deb11u1

The file "/etc/ImageMagick-6/policy.xml" is not a valid xml file because 
line 76 is missing "-->" to close the comment on the same line.
As a result, it creates a comment containing both this line and the next 
one, which makes the comment include "--", which is forbidden in xml.
Reference: https://www.w3.org/TR/REC-xml/#sec-comments
Currently, this prevent automatic tools from parsing this file, since it 
doesn't get validated as a valid xml file.



More information about the Pkg-gmagick-im-team mailing list