Commit 6b0d497c9 for imagemagick.org
commit 6b0d497c9ade4fe95bdc1d28e4100016ff83ff49
Author: Cristy <urban-warrior@imagemagick.org>
Date: Sat May 23 07:51:52 2026 -0400
revert
diff --git a/coders/yuv.c b/coders/yuv.c
index 01ef4d484..dec8c9b03 100644
--- a/coders/yuv.c
+++ b/coders/yuv.c
@@ -145,8 +145,6 @@ 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*image->depth/8,&extent) != MagickFalse)
- ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
status=SetImageExtent(image,image->columns,image->rows,exception);
if (status == MagickFalse)
return(DestroyImageList(image));