From 6dd0ec94d971e3d38626f21f89ea015a38ec9a22 Mon Sep 17 00:00:00 2001 From: Cristy Date: Thu, 9 Nov 2017 13:56:33 -0500 Subject: [PATCH] ... --- coders/txt.c | 6 ------ 1 file changed, 6 deletions(-) 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) { -- 2.50.1