]> granicus.if.org Git - imagemagick/commitdiff
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13538
authorCristy <mikayla-grace@urban-warrior.org>
Tue, 5 Mar 2019 23:12:00 +0000 (18:12 -0500)
committerCristy <mikayla-grace@urban-warrior.org>
Tue, 5 Mar 2019 23:12:00 +0000 (18:12 -0500)
coders/psd.c

index 9e6a1ab8f2999c06f0715311818929dc5abf7ef5..36439f657c89775be036ab6b776f7ed46bebedff 100644 (file)
@@ -1383,6 +1383,7 @@ static MagickBooleanType ReadPSDChannel(Image *image,
         layer_info->mask.page.height,MagickFalse,exception);
       if (mask != (Image *) NULL)
         {
+          (void) ResetImagePixels(mask,exception);
           (void) SetImageType(mask,GrayscaleType,exception);
           channel_image=mask;
         }