Commit e341fd91d for imagemagick.org
commit e341fd91d5ff244d1fa326f316465837992e5624
Author: Cristy <urban-warrior@imagemagick.org>
Date: Sat May 23 17:12:37 2026 -0400
remove extraneous heap check
diff --git a/coders/dpx.c b/coders/dpx.c
index d1d329b1c..efd5cc31b 100644
--- a/coders/dpx.c
+++ b/coders/dpx.c
@@ -1141,8 +1141,6 @@ static Image *ReadDPXImage(const ImageInfo *image_info,ExceptionInfo *exception)
(void) CloseBlob(image);
return(GetFirstImageInList(image));
}
- if (HeapOverflowSanityCheck(image->columns,4*image->depth/8) != MagickFalse)
- ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
status=SetImageExtent(image,image->columns,image->rows,exception);
if (status == MagickFalse)
return(DestroyImageList(image));