Skip to content

Commit

Permalink
Use AllPolicyRights instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Sep 11, 2021
1 parent 005af2a commit b60e171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magick/module.c
Expand Up @@ -1283,7 +1283,7 @@ MagickExport MagickBooleanType OpenModule(const char *module,
p=GetCoderInfo(module,exception);
if (p != (CoderInfo *) NULL)
(void) CopyMagickString(module_name,p->name,MaxTextExtent);
rights=ReadPolicyRights;
rights=AllPolicyRights;
if (IsRightsAuthorized(ModulePolicyDomain,rights,module_name) == MagickFalse)
{
errno=EPERM;
Expand Down

0 comments on commit b60e171

Please sign in to comment.