Commit d281ca7d4 for imagemagick.org

commit d281ca7d48e206d3da610b897e0cf76084df3198
Author: Cristy <urban-warrior@imagemagick.org>
Date:   Tue Nov 3 22:00:28 2026 -0500

    check for if texture image is NULL

diff --git a/coders/msl.c b/coders/msl.c
index ad865c1ce..a5b95c77d 100644
--- a/coders/msl.c
+++ b/coders/msl.c
@@ -6905,6 +6905,8 @@ static void MSLStartElement(void *context,const xmlChar *tag,
                       if ((prop != (const char *) NULL)  &&
                           (LocaleCompare(prop,value) == 0))
                         {
+                          if (msl_info->image[j] == (Image *) NULL)
+                            break;
                           texture_image=CloneImage(msl_info->image[j],0,0,
                             MagickFalse,exception);
                           break;