Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/1472
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Feb 10, 2019
1 parent 2b4fee3 commit e3cdce6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions coders/cin.c
Expand Up @@ -726,6 +726,8 @@ static Image *ReadCINImage(const ImageInfo *image_info,ExceptionInfo *exception)
(void) CloseBlob(image);
return(image);
}
if (((MagickSizeType) image->columns*image->rows) > GetBlobSize(image))
ThrowReaderException(CorruptImageError,"InsufficientImageDataInFile");
for ( ; offset < (MagickOffsetType) cin.file.image_offset; offset++)
{
int
Expand Down

0 comments on commit e3cdce6

Please sign in to comment.