File ImageMagick-CVE-2015-8903.patch of Package ImageMagick.7150

--- 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))

openSUSE Build Service is sponsored by