+2018-07-20 7.0.8-8 Cristy <quetzlzacatenango@image...>
+ * Non-HDRI ScaleLongToQuantum() private method no longer adds a half interval.
+ * Fixed memset() negative-size-param (reference
+ https://github.com/ImageMagick/ImageMagick/issues/1217).
+
2018-07-16 7.0.8-7 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.8-7, GIT revision 14561:f85c23180:20180716.
status;
MagickSizeType
+ n,
number_pixels;
MemoryInfo
if (pixel_info == (MemoryInfo *) NULL)
ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info);
- (void) memset(pixels,0,iris_info.columns*iris_info.rows*4*
- bytes_per_pixel*sizeof(*pixels));
+ for (n=0; n < (4*bytes_per_pixel*number_pixels); n++)
+ pixels[n]=0;
if ((int) iris_info.storage != 0x01)
{
unsigned char