From: Cristy Date: Tue, 27 Feb 2018 12:51:18 +0000 (-0500) Subject: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6582 X-Git-Tag: 7.0.7-25~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a504fa01a61f428422300faa8a98d44173f3ced;p=imagemagick https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6582 --- diff --git a/coders/miff.c b/coders/miff.c index 3cbe310ce..456bdb7e4 100644 --- a/coders/miff.c +++ b/coders/miff.c @@ -577,7 +577,7 @@ static Image *ReadMIFFImage(const ImageInfo *image_info, /* Get the keyword. */ - length=MagickPathExtent; + length=MagickPathExtent-1; p=keyword; do {