Skip to content

Commit

Permalink
Return true when the xmp profile is corrupt instead of false to make …
Browse files Browse the repository at this point in the history
…sure the rest of the image can be read.
  • Loading branch information
dlemstra committed Dec 16, 2018
1 parent 5fd7acc commit b0ae088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MagickCore/profile.c
Expand Up @@ -1745,7 +1745,7 @@ static MagickBooleanType SetImageProfileInternal(Image *image,const char *name,
{
(void) ThrowMagickException(exception,GetMagickModule(),ImageWarning,
"CorruptImageProfile","`%s'",name);
return(MagickFalse);
return(MagickTrue);
}
if (image->profiles == (SplayTreeInfo *) NULL)
image->profiles=NewSplayTree(CompareSplayTreeString,RelinquishMagickMemory,
Expand Down

0 comments on commit b0ae088

Please sign in to comment.