We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d23beeb commit 97566cfCopy full SHA for 97566cf
coders/ipl.c
@@ -545,6 +545,8 @@ static MagickBooleanType WriteIPLImage(const ImageInfo *image_info,Image *image)
545
scene=0;
546
547
quantum_info=AcquireQuantumInfo(image_info, image);
548
+ if (quantum_info == (QuantumInfo *) NULL)
549
+ ThrowWriterException(ResourceLimitError,"MemoryAllocationFailed");
550
if ((quantum_info->format == UndefinedQuantumFormat) &&
551
(IsHighDynamicRangeImage(image,&image->exception) != MagickFalse))
552
SetQuantumFormat(image,quantum_info,FloatingPointQuantumFormat);
0 commit comments