From: Cristy Date: Thu, 9 Nov 2017 18:56:33 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.7-11~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6dd0ec94d971e3d38626f21f89ea015a38ec9a22;p=imagemagick ... --- diff --git a/coders/txt.c b/coders/txt.c index abe5ea08e..cffac6b5f 100644 --- a/coders/txt.c +++ b/coders/txt.c @@ -565,12 +565,6 @@ static Image *ReadTXTImage(const ImageInfo *image_info,ExceptionInfo *exception) break; } } - if (EOFBlob(image) != MagickFalse) - { - ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile", - image->filename); - break; - } (void) ReadBlobString(image,text); if (LocaleNCompare((char *) text,MagickID,strlen(MagickID)) == 0) {