File ImageMagick-CVE-2017-12566.patch of Package ImageMagick.8768

Index: ImageMagick-6.8.8-1/coders/mvg.c
===================================================================
--- ImageMagick-6.8.8-1.orig/coders/mvg.c	2018-02-15 10:33:21.326438051 +0100
+++ ImageMagick-6.8.8-1/coders/mvg.c	2018-02-15 10:40:26.057409665 +0100
@@ -193,6 +193,7 @@ static Image *ReadMVGImage(const ImageIn
   if (SetImageBackgroundColor(image) == MagickFalse)
     {
       InheritException(exception,&image->exception);
+      draw_info=DestroyDrawInfo(draw_info);
       image=DestroyImageList(image);
       return((Image *) NULL);
     }
openSUSE Build Service is sponsored by