Package: imagemagick
Version: 8:6.9.11.60+dfsg-1.6+deb12u3
Severity: minor
Tags: patch

Dear Maintainer,

The patch 0007-Improve-policy-in-order-to-be-safer.patch contains a line
whose only effect is to remove a comment marker in one of the
configuration XML files.

Since that comment is followed by another comment, and XML comments
cannot themselves contain the XML comment prefix, the result is invalid
XML.

The attached patch removes the line.

peace,

M

-- Package-specific info:
ImageMagick program version
---------------------------
animate:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
compare:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
convert:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
composite:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
conjure:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
display:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
identify:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
import:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
mogrify:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
montage:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
stream:  ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org

-- System Information:
Debian Release: 12.11
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-37-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages imagemagick depends on:
ii  imagemagick-6.q16  8:6.9.11.60+dfsg-1.6+deb12u3

imagemagick recommends no packages.

imagemagick suggests no packages.

-- no debconf information

>From fc083365ba793fdfe3ad467cd6381954d3138a95 Mon Sep 17 00:00:00 2001
From: Marnanel Thurman <[email protected]>
Date: Fri, 8 Aug 2025 17:06:28 +0100
Subject: [PATCH] Removed a line from patch
 0007-Improve-policy-in-order-to-be-safer.patch whose only result was to
 remove the end of an XML comment; since this comment was immediately followed
 by another comment, and XML comments cannot themselves contain the XML
 comment prefix, the XML becomes invalid.

---
 debian/patches/0007-Improve-policy-in-order-to-be-safer.patch | 2 --
 1 file changed, 2 deletions(-)

diff --git a/debian/patches/0007-Improve-policy-in-order-to-be-safer.patch b/debian/patches/0007-Improve-policy-in-order-to-be-safer.patch
index b81eb83694..b4c605dea8 100644
--- a/debian/patches/0007-Improve-policy-in-order-to-be-safer.patch
+++ b/debian/patches/0007-Improve-policy-in-order-to-be-safer.patch
@@ -43,8 +43,6 @@ index 2ed14de8a6..54e64782b3 100644
    <!-- <policy domain="path" rights="none" pattern="@*" /> -->
    <!-- <policy domain="cache" name="memory-map" value="anonymous"/> -->
    <!-- <policy domain="cache" name="synchronize" value="True"/> -->
--  <!-- <policy domain="cache" name="shared-secret" value="passphrase" stealth="true"/> -->
-+  <!-- <policy domain="cache" name="shared-secret" value="passphrase" stealth="true"/>
    <!-- <policy domain="system" name="max-memory-request" value="256MiB"/> -->
    <!-- <policy domain="system" name="shred" value="2"/> -->
    <!-- <policy domain="system" name="precision" value="6"/> -->
-- 
2.39.5

Reply via email to