From: Cristy Date: Sat, 9 Feb 2019 23:00:23 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.8-28~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51dd231d78d3c46f85ad61af5be2710ecf494121;p=imagemagick ... --- diff --git a/coders/tiff.c b/coders/tiff.c index 1f4199db2..4a7d87204 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -2017,6 +2017,7 @@ RestoreMSCWarning /* Convert stripped TIFF image to DirectClass MIFF image. */ + (void) SetImageStorageClass(image,DirectClass,exception); i=0; p=(uint32 *) NULL; for (y=0; y < (ssize_t) image->rows; y++) @@ -2186,6 +2187,7 @@ RestoreMSCWarning /* Convert TIFF image to DirectClass MIFF image. */ + (void) SetImageStorageClass(image,DirectClass,exception); number_pixels=(MagickSizeType) image->columns*image->rows; if (HeapOverflowSanityCheck(image->rows,sizeof(*pixels)) != MagickFalse) ThrowTIFFException(ResourceLimitError,"MemoryAllocationFailed");