Skip to content
Permalink
Browse files Browse the repository at this point in the history
https://github.com/ImageMagick/ImageMagick/issues/122
  • Loading branch information
Cristy committed Feb 6, 2016
1 parent 4c2b9fe commit a251039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coders/wpg.c
Expand Up @@ -794,7 +794,7 @@ static Image *ExtractPostscript(Image *image,const ImageInfo *image_info,
if(exception->severity != UndefinedException) goto FINISH_UNL;
if(magic_info->name == (char *) NULL) goto FINISH_UNL;

(void) CopyMagickMemory(clone_info->magick,magic_info->name,MaxTextExtent);
(void) strncpy(clone_info->magick,magic_info->name,MaxTextExtent);

/* Read nested image */
/*FormatString(clone_info->filename,"%s:%s",magic_info->name,postscript_file);*/
Expand Down

0 comments on commit a251039

Please sign in to comment.