summary refs log tree commit diff
path: root/gnu/packages/screen.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-02-11 22:35:29 -0500
committerLeo Famulari <leo@famulari.name>2017-02-12 10:26:02 -0500
commitd6065945ff85f1ffea915fc9e22567731a318795 (patch)
treea127865a949726fef4b6d4f51b9d74ec644e3063 /gnu/packages/screen.scm
parent6ea86d7ec38f8c23957d6cce9ec6528987953ef8 (diff)
downloadguix-d6065945ff85f1ffea915fc9e22567731a318795.tar.gz
gnu: screen: Fix CVE-2017-5618.
* gnu/packages/patches/screen-CVE-2017-5618.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/screen.scm (screen)[source]: Use it.
Diffstat (limited to 'gnu/packages/screen.scm')
-rw-r--r--gnu/packages/screen.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/screen.scm b/gnu/packages/screen.scm
index 4f8109abbe..57e6cb595e 100644
--- a/gnu/packages/screen.scm
+++ b/gnu/packages/screen.scm
@@ -40,6 +40,8 @@
              (method url-fetch)
              (uri (string-append "mirror://gnu/screen/screen-"
                                  version ".tar.gz"))
+             (patches (search-patches "screen-CVE-2017-5618.patch"))
+             (patch-flags '("-p2"))
              (sha256
               (base32 "1c7grw03a9iwvqbxfd6hmjb681rp8gb55zsxm7b3apqqcb1sghq1"))))
     (build-system gnu-build-system)