2018-09-16 7.0.8-12 Cristy <quetzlzacatenango@image...>
- * Release ImageMagick version 7.0.8-12, GIT revision 14810:8f613ec25:20180916.
+ * Release ImageMagick version 7.0.8-12, GIT revision 14810:8f613ec25:20180916
2018-09-15 7.0.8-12 Dirk Lemstra <dirk@lem.....org>
* Added support for arithmetic coding to the jpeg encoder:
if (HeapOverflowSanityCheck(pcx_packets, (size_t) pcx_info.planes) != MagickFalse)
ThrowPCXException(CorruptImageError,"ImproperImageHeader");
pcx_packets=(size_t) pcx_packets*pcx_info.planes;
- if ((size_t) (pcx_info.bits_per_pixel*pcx_info.planes*image->columns) >
- (pcx_packets*8U))
+ if ((size_t) (pcx_info.bits_per_pixel*pcx_info.planes*image->columns) > (pcx_packets*8U))
ThrowPCXException(CorruptImageError,"ImproperImageHeader");
- if ((MagickSizeType) (pcx_packets/10) > GetBlobSize(image))
+ if ((MagickSizeType) (pcx_packets/12) > GetBlobSize(image))
ThrowPCXException(CorruptImageError,"ImproperImageHeader");
scanline=(unsigned char *) AcquireQuantumMemory(MagickMax(image->columns,
pcx_info.bytes_per_line),MagickMax(pcx_info.planes,8)*sizeof(*scanline));