From e39f7ace21226021b095db562d6d46ef3c749784 Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 27 Feb 2018 07:50:08 -0500 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6582 --- coders/mpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/mpc.c b/coders/mpc.c index ca181940c..f497af9e9 100644 --- a/coders/mpc.c +++ b/coders/mpc.c @@ -279,7 +279,7 @@ static Image *ReadMPCImage(const ImageInfo *image_info,ExceptionInfo *exception) /* Get the keyword. */ - length=MagickPathExtent; + length=MagickPathExtent-1; p=keyword; do { -- 2.40.0