File ImageMagick-CVE-2019-14980.patch of Package ImageMagick.28258

Index: ImageMagick-7.0.7-34/MagickCore/blob.c
===================================================================
--- ImageMagick-7.0.7-34.orig/MagickCore/blob.c	2018-05-20 17:55:42.000000000 +0200
+++ ImageMagick-7.0.7-34/MagickCore/blob.c	2019-09-05 08:46:13.907308623 +0200
@@ -919,6 +919,7 @@ MagickExport void DestroyBlob(Image *ima
   if (blob_info->mapped != MagickFalse)
     {
       (void) UnmapBlob(blob_info->data,blob_info->length);
+      blob_info->data=NULL;
       RelinquishMagickResource(MapResource,blob_info->length);
     }
   if (blob_info->semaphore != (SemaphoreInfo *) NULL)
openSUSE Build Service is sponsored by