Commit bdf369b89 for imagemagick.org

commit bdf369b890f53330f59aeae90ae79a20f54ceb3c
Author: Cristy <urban-warrior@imagemagick.org>
Date:   Sun Oct 25 18:27:06 2026 -0400

    check that columns || rows are not zero

diff --git a/MagickCore/cache.c b/MagickCore/cache.c
index af3c553e2..b618ebb00 100644
--- a/MagickCore/cache.c
+++ b/MagickCore/cache.c
@@ -4345,8 +4345,10 @@ MagickPrivate Quantum *QueueAuthenticPixelCacheNexus(Image *image,
   if (cache_info == (Cache) NULL)
     return((Quantum *) NULL);
   assert(cache_info->signature == MagickCoreSignature);
-  if ((cache_info->columns == 0) || (cache_info->rows == 0) || (x < 0) ||
-      (y < 0) || (x >= (ssize_t) cache_info->columns) ||
+  if ((columns == 0) || (rows == 0) ||
+      (cache_info->columns == 0) || (cache_info->rows == 0) ||
+      (x < 0) || (y < 0) ||
+      (x >= (ssize_t) cache_info->columns) ||
       (y >= (ssize_t) cache_info->rows))
     {
       (void) ThrowMagickException(exception,GetMagickModule(),CacheError,