Skip to content
Permalink
Browse files Browse the repository at this point in the history
Prevent buffer overflow (bug report from Max Thrane)
  • Loading branch information
Cristy committed Aug 4, 2016
1 parent 0120868 commit 989f9f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
@@ -1,3 +1,6 @@
2016-08-03 6.9.5-5 Cristy <quetzlzacatenango@image...>
* Prevent buffer overflow (bug report from Max Thrane).

2016-07-30 6.9.5-4 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 6.9.5-4, GIT revision 10973:a00fa93:20160729.

Expand Down
2 changes: 1 addition & 1 deletion magick/draw.c
Expand Up @@ -2998,7 +2998,7 @@ MagickExport MagickBooleanType DrawImage(Image *image,const DrawInfo *draw_info)
}
length++;
}
length=length*BezierQuantum/2;
length=length*BezierQuantum;
break;
}
case CirclePrimitive:
Expand Down

0 comments on commit 989f9f8

Please sign in to comment.