File ImageMagick-CVE-2017-8348.patch of Package ImageMagick.8212

Index: ImageMagick-6.8.8-1/coders/mat.c
===================================================================
--- ImageMagick-6.8.8-1.orig/coders/mat.c	2017-05-10 11:31:05.422232962 +0200
+++ ImageMagick-6.8.8-1/coders/mat.c	2017-05-10 11:36:10.935299460 +0200
@@ -935,7 +935,6 @@ ImportQuantumPixelsFailed:
   }
       }
     } while(z-- >= 2);
-    quantum_info=DestroyQuantumInfo(quantum_info);
 ExitLoop:
 
 
@@ -1045,6 +1044,7 @@ done_reading:
   clone_info=DestroyImageInfo(clone_info);
 
   RelinquishMagickMemory(BImgBuff);
+  quantum_info=DestroyQuantumInfo(quantum_info);
   CloseBlob(image);