Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Dec 24, 2016
1 parent ef67878 commit d23beeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coders/wpg.c
Expand Up @@ -803,7 +803,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) strncpy(clone_info->magick,magic_info->name,MaxTextExtent);
(void) strncpy(clone_info->magick,magic_info->name,MaxTextExtent-1);

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

0 comments on commit d23beeb

Please sign in to comment.