Commit 34bda950c for imagemagick.org
commit 34bda950cab76b89792a5a82ffe981898252ba1a
Author: Dirk Lemstra <dirk@lemstra.org>
Date: Sun May 10 16:07:12 2026 +0200
Revert patch until there is a proper fix.
diff --git a/MagickCore/cache.c b/MagickCore/cache.c
index e5d38c1c4..c3b9f2f5d 100644
--- a/MagickCore/cache.c
+++ b/MagickCore/cache.c
@@ -5512,7 +5512,7 @@ MagickPrivate MagickBooleanType SyncAuthenticPixelCacheNexus(Image *image,
assert(cache_info->signature == MagickCoreSignature);
if (cache_info->type == UndefinedCache)
return(MagickFalse);
- if ((image->mask_trait & UpdatePixelTrait) != 0)
+ if (image->mask_trait != UpdatePixelTrait)
{
if (((image->channels & WriteMaskChannel) != 0) &&
(ClipPixelCacheNexus(image,nexus_info,exception) == MagickFalse))