mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-25 11:24:54 +02:00
increase increment
This commit is contained in:
+1
-1
@@ -145,7 +145,7 @@ static Image *ReadYUVImage(const ImageInfo *image_info,ExceptionInfo *exception)
|
||||
image=AcquireImage(image_info,exception);
|
||||
if ((image->columns == 0) || (image->rows == 0))
|
||||
ThrowReaderException(OptionError,"MustSpecifyImageSize");
|
||||
if (HeapOverflowSanityCheckGetSize(image->columns,4,&extent) != MagickFalse)
|
||||
if (HeapOverflowSanityCheckGetSize(image->columns,4*image->depth/8,&extent) != MagickFalse)
|
||||
ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
|
||||
status=SetImageExtent(image,image->columns,image->rows,exception);
|
||||
if (status == MagickFalse)
|
||||
|
||||
Reference in New Issue
Block a user