Skip to content
Permalink
Browse files Browse the repository at this point in the history
Prevent fault in MSL interpreter
  • Loading branch information
Cristy committed Nov 2, 2016
1 parent 2c304da commit 56d6e20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
@@ -1,6 +1,8 @@
2016-11-01 6.9.6-4 Cristy <quetzlzacatenango@image...>
* Off by one memory allocation (reference
https://github.com/ImageMagick/ImageMagick/issues/296).
* Prevent fault in MSL interpreter (reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=30797).

2016-10-30 6.9.6-3 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 6.9.6-3, GIT revision 11117:e857a26:20161030.
Expand Down
2 changes: 2 additions & 0 deletions coders/msl.c
Expand Up @@ -4999,6 +4999,8 @@ static void MSLStartElement(void *context,const xmlChar *tag,
Image
*image;

if (value == (char *) NULL)
break;
(void) CopyMagickString(msl_info->image_info[n]->filename,
value,MaxTextExtent);
image=ReadImage(msl_info->image_info[n],exception);
Expand Down

0 comments on commit 56d6e20

Please sign in to comment.