]> granicus.if.org Git - imagemagick/commitdiff
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6582
authorCristy <urban-warrior@imagemagick.org>
Tue, 27 Feb 2018 12:51:18 +0000 (07:51 -0500)
committerCristy <urban-warrior@imagemagick.org>
Tue, 27 Feb 2018 12:51:18 +0000 (07:51 -0500)
coders/miff.c

index 3cbe310ce877f680ca427fea977e9d27841924c6..456bdb7e46de98a23491bfb9902ad7e77b231c93 100644 (file)
@@ -577,7 +577,7 @@ static Image *ReadMIFFImage(const ImageInfo *image_info,
             /*
               Get the keyword.
             */
-            length=MagickPathExtent;
+            length=MagickPathExtent-1;
             p=keyword;
             do
             {