Skip to content
Permalink
Browse files

Prevent fault in MSL interpreter

  • Loading branch information...
Cristy
Cristy committed Nov 2, 2016
1 parent 2c304da commit 56d6e20de489113617cbbddaf41e92600a34db22
Showing with 4 additions and 0 deletions.
  1. +2 −0 ChangeLog
  2. +2 −0 coders/msl.c
@@ -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.
@@ -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);

0 comments on commit 56d6e20

Please sign in to comment.
You can’t perform that action at this time.