Commit 82f373fed for imagemagick.org

commit 82f373fedb3425c83a239103ab86f4fa86fd49ac
Author: Dirk Lemstra <dirk@lemstra.org>
Date:   Thu Aug 27 20:24:46 2026 +0200

    Fixed the policy check for coders (GHSA-vcjj-32hg-qpx5)

diff --git a/MagickCore/constitute.c b/MagickCore/constitute.c
index 888991918..6e0402f8e 100644
--- a/MagickCore/constitute.c
+++ b/MagickCore/constitute.c
@@ -723,7 +723,7 @@ MagickExport Image *ReadImage(const ImageInfo *image_info,
       */
       if (GetMagickDecoderThreadSupport(magick_info) == MagickFalse)
         LockSemaphoreInfo(magick_info->semaphore);
-      status=IsCoderAuthorized(magick_info->magick_module,read_info->magick,
+      status=IsCoderAuthorized(magick_info->magick_module,magick_info->name,
         ReadPolicyRights,exception);
       image=(Image *) NULL;
       if (status != MagickFalse)