#1033324 Debian 11 ImageMagicks policy.xml is an invalid xml file

Package:
imagemagick
Source:
imagemagick
Description:
image manipulation programs -- binaries
Submitter:
Jérémie Grauer
Date:
2023-03-22 16:03:04 UTC
Severity:
normal
#1033324#5
Date:
2023-03-22 15:48:47 UTC
From:
To:
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.