From: Cristy Date: Wed, 21 Feb 2018 16:48:19 +0000 (-0500) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6492 X-Git-Tag: 7.0.7-24~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7b760f873165eeff39eafff5f20c8178dc71a3f;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6492 --- diff --git a/coders/psd.c b/coders/psd.c index 0c30904df..742c5cd83 100644 --- a/coders/psd.c +++ b/coders/psd.c @@ -2313,7 +2313,7 @@ static Image *ReadPSDImage(const ImageInfo *image_info,ExceptionInfo *exception) } } if (profile != (StringInfo *) NULL) - { + { (void) SetImageProfile(image,GetStringInfoName(profile),profile, exception); profile=DestroyStringInfo(profile);