]> granicus.if.org Git - imagemagick/commitdiff
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6685
authorCristy <urban-warrior@imagemagick.org>
Sat, 3 Mar 2018 14:46:04 +0000 (09:46 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sat, 3 Mar 2018 14:46:04 +0000 (09:46 -0500)
MagickCore/draw.c

index 048430b0847122fa0a3754cd5545bfb345bc6039..bc06283e3566364f97c44e813370f7c6048e4f4e 100644 (file)
@@ -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)