Skip to content

Commit 8035581

Browse files
author
Cristy
committed
https://github.com/ImageMagick/ImageMagick/issues/8217
1 parent 9fd7112 commit 8035581

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coders/tiff.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2011,6 +2011,7 @@ static Image *ReadTIFFImage(const ImageInfo *image_info,
20112011
/*
20122012
Convert generic TIFF image.
20132013
*/
2014+
(void) SetImageStorageClass(image,DirectClass,exception);
20142015
if (HeapOverflowSanityCheck(image->rows,sizeof(*pixels)) != MagickFalse)
20152016
ThrowTIFFException(ResourceLimitError,"MemoryAllocationFailed");
20162017
number_pixels=(MagickSizeType) image->columns*image->rows;

0 commit comments

Comments
 (0)