From: Cristy Date: Tue, 13 Mar 2018 00:55:08 +0000 (-0400) Subject: https://oss-fuzz.com/v2/testcase-detail/4905407295258624?noredirect=1 X-Git-Tag: 7.0.7-27~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d704a0426a499460f856bb63be67e3ffac1b83b;p=imagemagick https://oss-fuzz.com/v2/testcase-detail/4905407295258624?noredirect=1 --- 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)