From 487f950075ae21b4634a04cb28c2f47f95d62963 Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 23 Jan 2018 07:48:56 -0500 Subject: [PATCH] Eliminate uninitialized value Credit OSS Fuzz --- coders/pdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coders/pdb.c b/coders/pdb.c index 9404e0fa3..502735205 100644 --- a/coders/pdb.c +++ b/coders/pdb.c @@ -330,6 +330,7 @@ static Image *ReadPDBImage(const ImageInfo *image_info,ExceptionInfo *exception) /* Determine if this a PDB image file. */ + (void) ResetMagickMemory(&pdb_info,0,sizeof(pdb_info)); count=ReadBlob(image,sizeof(pdb_info.name),(unsigned char *) pdb_info.name); if (count != sizeof(pdb_info.name)) ThrowReaderException(CorruptImageError,"ImproperImageHeader"); -- 2.50.0