File ImageMagick-CVE-2015-8903.patch of Package ImageMagick.8768
--- a/coders/vicar.c +++ b/coders/vicar.c @@ -276,6 +276,8 @@ static Image *ReadVICARImage(const ImageInfo *image_info, while (count < (ssize_t) length) { c=ReadBlobByte(image); + if (c == EOF) + break; count++; } if ((image->columns == 0) || (image->rows == 0))