Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/1857
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Mar 2, 2020
1 parent f7d9c71 commit b466a96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Expand Up @@ -4,6 +4,8 @@
2020-03-01 6.9.11-0 Cristy <quetzlzacatenango@image...>
* Label text no longer gets cut-off (reference
https://imagemagick.org/discourse-server/viewtopic.php?f=1&t=37621).
* Prevent heap overflow (reference
https://github.com/ImageMagick/ImageMagick/issues/1857).

2020-02-29 6.9.10-97 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 6.9.10-97, GIT revision 15453:0537c847b:20200229
Expand Down
2 changes: 2 additions & 0 deletions coders/tiff.c
Expand Up @@ -1834,6 +1834,8 @@ RestoreMSCWarning
Convert stripped TIFF image.
*/
extent=TIFFStripSize(tiff)+sizeof(uint32);
if (photometric == PHOTOMETRIC_YCBCR)
extent<<=1;
strip_pixels=(unsigned char *) AcquireQuantumMemory(extent,
sizeof(*strip_pixels));
if (strip_pixels == (unsigned char *) NULL)
Expand Down

0 comments on commit b466a96

Please sign in to comment.