]> granicus.if.org Git - imagemagick/commitdiff
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6498
authorCristy <urban-warrior@imagemagick.org>
Wed, 21 Feb 2018 23:22:43 +0000 (18:22 -0500)
committerCristy <urban-warrior@imagemagick.org>
Wed, 21 Feb 2018 23:22:43 +0000 (18:22 -0500)
coders/miff.c
coders/mpc.c

index 329e96a9751e2ebfc8b570f4cfdfa9ffcd003bd5..3cbe310ce877f680ca427fea977e9d27841924c6 100644 (file)
@@ -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;
index b5449989c5a30fa21bd9b6d8b03e15a95a3bd9f4..ca181940c203e155989396a5fd3bb44a8d799997 100644 (file)
@@ -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);