From 48eca15747e47be25b244c6a2b572e5f0ebd0d15 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 11 Feb 2018 09:11:27 -0500 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6214 --- MagickCore/property.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MagickCore/property.c b/MagickCore/property.c index 94f3105e0..26190e1bc 100644 --- a/MagickCore/property.c +++ b/MagickCore/property.c @@ -1330,6 +1330,8 @@ static MagickBooleanType GetEXIFProperty(const Image *image, if (tag == (~0UL)) return(MagickFalse); length=GetStringInfoLength(profile); + if (length < 6) + return(MagickFalse); exif=GetStringInfoDatum(profile); while (length != 0) { -- 2.40.0