summary refs log tree commit diff
path: root/gnu/packages/imagemagick.scm
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2021-03-27 08:08:37 -0400
committerMark H Weaver <mhw@netris.org>2021-03-27 19:49:07 -0400
commitbfc69d5e7c45eac865e231643b58396580afb231 (patch)
tree498cb7348cb069684429e280c4bd2cb3cceab010 /gnu/packages/imagemagick.scm
parentcb3ae2f246646e9d27f844a33a28146093051bbc (diff)
downloadguix-bfc69d5e7c45eac865e231643b58396580afb231.tar.gz
gnu: imagemagick: Fix CVE-2020-27829.
* gnu/packages/patches/imagemagick-CVE-2020-27829.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/imagemagick.scm (source): Add patch.
Diffstat (limited to 'gnu/packages/imagemagick.scm')
-rw-r--r--gnu/packages/imagemagick.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/imagemagick.scm b/gnu/packages/imagemagick.scm
index bbf038534f..c48ba534c2 100644
--- a/gnu/packages/imagemagick.scm
+++ b/gnu/packages/imagemagick.scm
@@ -155,7 +155,9 @@ text, lines, polygons, ellipses and Bézier curves.")
                                   version ".tar.xz"))
               (sha256
                (base32
-                "1pkwij76yz7vd5grl6520pgpa912qb6kh34qamx4zfndwcx6cf6b"))))))
+                "1pkwij76yz7vd5grl6520pgpa912qb6kh34qamx4zfndwcx6cf6b"))
+              (patches
+               (search-patches "imagemagick-CVE-2020-27829.patch"))))))
 
 (define-public perl-image-magick
   (package