From 41b03b43a5799abd898f871ce5865cb0307f1592 Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 5 Mar 2019 18:12:00 -0500 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13538 --- coders/psd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coders/psd.c b/coders/psd.c index 9e6a1ab8f..36439f657 100644 --- a/coders/psd.c +++ b/coders/psd.c @@ -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; } -- 2.40.0