From 5693f20ad4b486a5c7ea4bf8a77e5049dfbc2c24 Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 23 Jan 2023 06:37:47 -0500 Subject: [PATCH] initialize RLE pixels --- coders/wpg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coders/wpg.c b/coders/wpg.c index 6496094989..1796efcd7a 100644 --- a/coders/wpg.c +++ b/coders/wpg.c @@ -1839,6 +1839,7 @@ static void WPGInitializeRLE(WPGRLEInfo *rle_info) { rle_info->count=0; rle_info->offset=0; + (void) memset(rle_info->pixels,0,sizeof(rle_info->pixels)); } static MagickBooleanType WriteWPGImage(const ImageInfo *image_info,Image *image)