From: dirk Date: Sat, 18 Jul 2015 22:13:39 +0000 (+0000) Subject: Removed incorrect EOF check. X-Git-Tag: 7.0.1-0~782 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ea30e37876cae1c7c9c3f19f78386ac412ce558;p=imagemagick Removed incorrect EOF check. --- diff --git a/coders/dds.c b/coders/dds.c index b9f463854..07a55cf62 100644 --- a/coders/dds.c +++ b/coders/dds.c @@ -1808,11 +1808,6 @@ static Image *ReadDDSImage(const ImageInfo *image_info,ExceptionInfo *exception) return(GetFirstImageInList(image)); } } - - if (EOFBlob(image) != MagickFalse) - ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile", - image->filename); - (void) CloseBlob(image); return(GetFirstImageInList(image)); }