length=(size_t) StringToLong(options);
if ((MagickSizeType) length > GetBlobSize(image))
{
+ if (profiles != (LinkedListInfo *) NULL)
+ profiles=DestroyLinkedList(profiles,
+ RelinquishMagickMemory);
options=DestroyString(options);
ThrowReaderException(CorruptImageError,
"InsufficientImageDataInFile");
length=StringToLong(options);
if ((MagickSizeType) length > GetBlobSize(image))
{
+ if (profiles != (LinkedListInfo *) NULL)
+ profiles=DestroyLinkedList(profiles,
+ RelinquishMagickMemory);
options=DestroyString(options);
ThrowReaderException(CorruptImageError,
"InsufficientImageDataInFile");