From: Cristy Date: Sun, 18 Mar 2018 12:34:36 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.7-27~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5225b30e102bed2d3029bf2c4af6fb72a1c233e5;p=imagemagick ... --- diff --git a/MagickCore/image.c b/MagickCore/image.c index 563042bf1..19916b9fc 100644 --- a/MagickCore/image.c +++ b/MagickCore/image.c @@ -2246,6 +2246,9 @@ MagickExport MagickBooleanType ResetImagePixels(Image *image, pixels=AcquirePixelCachePixels(image,&length,exception); if (pixels != (void *) NULL) { + /* + Reset in-core image pixels. + */ (void) memset(pixels,0,length); return(MagickTrue); }