From bf04de5d0e66f630dd0c184b478a299854f2d032 Mon Sep 17 00:00:00 2001 From: Cristy Date: Wed, 21 Feb 2018 18:22:43 -0500 Subject: [PATCH] https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6498 --- coders/miff.c | 1 + coders/mpc.c | 1 + 2 files changed, 2 insertions(+) diff --git a/coders/miff.c b/coders/miff.c index 329e96a97..3cbe310ce 100644 --- a/coders/miff.c +++ b/coders/miff.c @@ -517,6 +517,7 @@ static Image *ReadMIFFImage(const ImageInfo *image_info, /* Decode image header; header terminates one character beyond a ':'. */ + SetGeometryInfo(&geometry_info); length=MagickPathExtent; options=AcquireString((char *) NULL); quantum_format=UndefinedQuantumFormat; diff --git a/coders/mpc.c b/coders/mpc.c index b5449989c..ca181940c 100644 --- a/coders/mpc.c +++ b/coders/mpc.c @@ -220,6 +220,7 @@ static Image *ReadMPCImage(const ImageInfo *image_info,ExceptionInfo *exception) /* Decode image header; header terminates one character beyond a ':'. */ + SetGeometryInfo(&geometry_info); profiles=(LinkedListInfo *) NULL; length=MagickPathExtent; options=AcquireString((char *) NULL); -- 2.40.0