From a079c4a36f3a29912bd6ee4ea997622fabbcc189 Mon Sep 17 00:00:00 2001 From: Cristy Date: Thu, 24 Aug 2017 20:10:16 -0400 Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/697 --- coders/xcf.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/coders/xcf.c b/coders/xcf.c index 7645b0636..8f7a67e1f 100644 --- a/coders/xcf.c +++ b/coders/xcf.c @@ -648,9 +648,6 @@ static MagickBooleanType load_level(Image *image,XCFDocInfo *inDocInfo, if (offset2 == 0) offset2=(MagickOffsetType) (offset + TILE_WIDTH * TILE_WIDTH * 4* 1.5); /* seek to the tile offset */ - if (offset2 > GetBlobSize(image)) - ThrowBinaryException(CorruptImageError,"InsufficientImageDataInFile", - image->filename); if (SeekBlob(image, offset, SEEK_SET) != offset) ThrowBinaryException(CorruptImageError,"InsufficientImageDataInFile", image->filename); -- 2.50.1