]> granicus.if.org Git - imagemagick/commitdiff
https://oss-fuzz.com/v2/testcase-detail/4905407295258624?noredirect=1
authorCristy <urban-warrior@imagemagick.org>
Tue, 13 Mar 2018 00:55:08 +0000 (20:55 -0400)
committerCristy <urban-warrior@imagemagick.org>
Tue, 13 Mar 2018 00:55:08 +0000 (20:55 -0400)
coders/mpeg.c

index f8dba3cdb048827d19fb4b798d6663bae0c92114..8a2999b1c129e0c69458122f502c8891bb6a2047 100644 (file)
@@ -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)