Skip to content
Permalink
Browse files

https://github.com//issues/654

  • Loading branch information...
Cristy
Cristy committed Aug 7, 2017
1 parent 68bbe7b commit 4eae304e773bad8a876c3c26fdffac24d4253ae4
Showing with 2 additions and 0 deletions.
  1. +2 −0 coders/wpg.c
@@ -1045,6 +1045,8 @@ static Image *ReadWPGImage(const ImageInfo *image_info,
if(i==EOF)
break;
Rd_WP_DWORD(image,&Rec.RecordLength);
if (Rec.RecordLength > GetBlobSize(image))
ThrowReaderException(CorruptImageError,"ImproperImageHeader");
if(EOFBlob(image))
break;

0 comments on commit 4eae304

Please sign in to comment.
You can’t perform that action at this time.