diff options
author | Cristy <urban-warrior@imagemagick.org> | 2018-03-16 19:42:53 -0400 |
---|---|---|
committer | Cristy <urban-warrior@imagemagick.org> | 2018-03-16 19:43:11 -0400 |
commit | 652f4eae738262bb0a12bf1389c64570f265efd5 (patch) | |
tree | 0bc9a9aa28157be99a541a11617f67878d5506bd /coders/mat.c | |
parent | b751401532fa9654063eb175fbe2fadf119cb80c (diff) | |
download | ImageMagick-652f4eae738262bb0a12bf1389c64570f265efd5.tar.gz |
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6958
Diffstat (limited to 'coders/mat.c')
-rw-r--r-- | coders/mat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coders/mat.c b/coders/mat.c index 808833119..1ff53e5ea 100644 --- a/coders/mat.c +++ b/coders/mat.c @@ -1349,6 +1349,8 @@ done_reading: } } } + if (EOFBlob(image) != MagickFalse) + break; /* Allocate next image structure. */ AcquireNextImage(image_info,image,exception); |