From: Cristy Date: Sat, 10 Mar 2018 17:01:31 +0000 (-0500) Subject: https://oss-fuzz.com/v2/testcase-detail/6494488139661312?noredirect=1 X-Git-Tag: 7.0.7-26~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c77aca801d804f71431ccd61715053e3f9814a4;p=imagemagick https://oss-fuzz.com/v2/testcase-detail/6494488139661312?noredirect=1 --- diff --git a/coders/pdb.c b/coders/pdb.c index 7e1a80e5e..91ffc393a 100644 --- a/coders/pdb.c +++ b/coders/pdb.c @@ -788,6 +788,7 @@ static MagickBooleanType WritePDBImage(const ImageInfo *image_info,Image *image, bits_per_pixel=4; } (void) memset(&pdb_info,0,sizeof(pdb_info)); + (void) memset(&pdb_image,0,sizeof(pdb_image)); (void) CopyMagickString(pdb_info.name,image_info->filename, sizeof(pdb_info.name)); pdb_info.attributes=0;