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

Index: ImageMagick-6.8.8-1/coders/rle.c
===================================================================
--- ImageMagick-6.8.8-1.orig/coders/rle.c	2017-05-22 10:50:33.332587381 +0200
+++ ImageMagick-6.8.8-1/coders/rle.c	2017-05-22 10:51:17.777347021 +0200
@@ -321,6 +321,7 @@ static Image *ReadRLEImage(const ImageIn
     if (pixel_info == (MemoryInfo *) NULL)
       ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
     pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info);
+    (void) ResetMagickMemory(pixels,0,pixel_info_length);
     if ((flags & 0x01) && !(flags & 0x02))
       {
         ssize_t