Skip to content
Permalink
Browse files

https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31161

  • Loading branch information...
Cristy
Cristy committed Jan 5, 2017
1 parent a0bcddc commit c073a7712d82476b5fbee74856c46b88af9c3175
Showing with 7 additions and 2 deletions.
  1. +4 −0 ChangeLog
  2. +3 −2 coders/tiff.c
@@ -1,3 +1,7 @@
2017-01-04 6.9.7-3 Cristy <quetzlzacatenango@image...>
* Increase memory allocation for TIFF pixels (reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31161).

2017-01-03 6.9.7-2 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 6.9.7-2, GIT revision 11274:2faf8d7:20170103.

@@ -1606,8 +1606,9 @@ RestoreMSCWarning
method=ReadTileMethod;
quantum_info->endian=LSBEndian;
quantum_type=RGBQuantum;
tiff_pixels=(unsigned char *) AcquireMagickMemory(TIFFScanlineSize(tiff)+
sizeof(uint32));
tiff_pixels=(unsigned char *) AcquireMagickMemory(MagickMax(
TIFFScanlineSize(tiff),(size_t) (image->columns*samples_per_pixel*
pow(2.0,ceil(log(bits_per_sample)/log(2.0))))));
if (tiff_pixels == (unsigned char *) NULL)
{
TIFFClose(tiff);

0 comments on commit c073a77

Please sign in to comment.
You can’t perform that action at this time.