]> granicus.if.org Git - imagemagick/commitdiff
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6958
authorCristy <urban-warrior@imagemagick.org>
Fri, 16 Mar 2018 23:42:53 +0000 (19:42 -0400)
committerCristy <urban-warrior@imagemagick.org>
Fri, 16 Mar 2018 23:43:11 +0000 (19:43 -0400)
coders/mat.c

index 808833119bd30ecc18d2c445dccb80b75ef626ec..1ff53e5ea5072abf58e23bd61aea8cee08ba5877 100644 (file)
@@ -1349,6 +1349,8 @@ done_reading:
     }
         }
       }
+    if (EOFBlob(image) != MagickFalse)
+      break;
 
       /* Allocate next image structure. */
     AcquireNextImage(image_info,image,exception);