]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Thu, 9 Nov 2017 18:56:33 +0000 (13:56 -0500)
committerCristy <urban-warrior@imagemagick.org>
Thu, 9 Nov 2017 18:56:33 +0000 (13:56 -0500)
coders/txt.c

index abe5ea08ea374e8e6c0c5321e6c0a532613bb4b0..cffac6b5f2eeb8df203d8737fd8001db6403c0da 100644 (file)
@@ -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)
       {