Commit 9039e308b for imagemagick.org
commit 9039e308bc89b112f34a21859c27f8f50d41b27c
Author: Cristy <urban-warrior@imagemagick.org>
Date: Sun Jun 14 07:57:35 2026 -0400
eliminate compiler exception
diff --git a/MagickCore/policy-private.h b/MagickCore/policy-private.h
index ee5477854..373b5f8da 100644
--- a/MagickCore/policy-private.h
+++ b/MagickCore/policy-private.h
@@ -47,7 +47,7 @@ static inline MagickBooleanType IsPathAuthorized(const PolicyRights rights,
MagickBooleanType status =
((IsRightsAuthorized(PathPolicyDomain,rights,filename) != MagickFalse) &&
((IsRightsAuthorizedByName(SystemPolicyDomain,"symlink",rights,"follow") != MagickFalse) ||
- (is_symlink_utf8(filename) == MagickFalse)));
+ (is_symlink_utf8(filename) == MagickFalse))) ? MagickTrue : MagickFalse;
return(status);
}