+2018-05-03 7.0.7-31 <quetzlzacatenango@image...>
+ * Fixed numerous use of uninitialized values, integer overflow, memory
+ exceeded, and timeouts (credit to OSS Fuzz).
+
2018-05-01 7.0.7-30 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.7-30, GIT revision 14242:730f1d1d3:20180501.
if ((bounds.x1 >= (double) image->columns) ||
(bounds.y1 >= (double) image->rows) ||
(bounds.x2 <= 0.0) || (bounds.y2 <= 0.0))
- return(MagickTrue);
+ {
+ polygon_info=DestroyPolygonThreadSet(polygon_info);
+ return(MagickTrue); /* virtual polygon */
+ }
bounds.x1=bounds.x1 < 0.0 ? 0.0 : bounds.x1 >= (double) image->columns-1.0 ?
(double) image->columns-1.0 : bounds.x1;
bounds.y1=bounds.y1 < 0.0 ? 0.0 : bounds.y1 >= (double) image->rows-1.0 ?
const DrawInfo *draw_info,const PrimitiveInfo *primitive_info)
{
#define CheckPathExtent(pad) \
- if (((p+(pad)) >= (ssize_t) max_strokes) || \
- ((q+(pad)) >= (ssize_t) max_strokes)) \
+ if ((q+(pad)) >= (ssize_t) max_strokes) \
{ \
if (~max_strokes < (pad)) \
{ \