From: Cristy Date: Sat, 3 Mar 2018 14:46:04 +0000 (-0500) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6685 X-Git-Tag: 7.0.7-25~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d54aa9d3c2763c9af0e68cb49dfc752fe2f7d77;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6685 --- diff --git a/MagickCore/draw.c b/MagickCore/draw.c index 048430b08..bc06283e3 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -1821,7 +1821,7 @@ MagickExport MagickBooleanType DrawImage(Image *image,const DrawInfo *draw_info, ThrowBinaryException(ResourceLimitError,"MemoryAllocationFailed", image->filename); } - number_points=16384; + number_points=65536; primitive_info=(PrimitiveInfo *) AcquireQuantumMemory((size_t) number_points, sizeof(*primitive_info)); if (primitive_info == (PrimitiveInfo *) NULL)