From 7d704a0426a499460f856bb63be67e3ffac1b83b Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 12 Mar 2018 20:55:08 -0400 Subject: [PATCH] https://oss-fuzz.com/v2/testcase-detail/4905407295258624?noredirect=1 --- coders/mpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coders/mpeg.c b/coders/mpeg.c index f8dba3cdb..8a2999b1c 100644 --- a/coders/mpeg.c +++ b/coders/mpeg.c @@ -206,6 +206,7 @@ static Image *ReadMPEGImage(const ImageInfo *image_info, (void) InvokeDelegate(read_info,image,"mpeg:decode",(char *) NULL,exception); (void) FormatLocaleString(read_info->filename,MagickPathExtent,"%s.%s", read_info->unique,ReadMPEGIntermediateFormat); + *read_info->magick='\0'; images=ReadImage(read_info,exception); if (images != (Image *) NULL) for (next=images; next != (Image *) NULL; next=next->next) -- 2.40.0