]> granicus.if.org Git - imagemagick/commitdiff
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5966
authorCristy <urban-warrior@imagemagick.org>
Sun, 4 Feb 2018 14:53:54 +0000 (09:53 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sun, 4 Feb 2018 14:53:54 +0000 (09:53 -0500)
coders/psd.c

index a1a24c8c799758d537cedc8a9662f2506d66e41b..a06c3bc7110bcf07e4e707e838a652706d9e3804 100644 (file)
@@ -1878,7 +1878,7 @@ static MagickBooleanType ReadPSDLayersInternal(Image *image,
             ThrowBinaryException(ResourceLimitError,"MemoryAllocationFailed",
               image->filename);
           }
-
+        (void) SetImageBackgroundColor(layer_info[i].image,exception);
         if (layer_info[i].info != (StringInfo *) NULL)
           {
             (void) SetImageProfile(layer_info[i].image,"psd:additional-info",