summary refs log tree commit diff
path: root/gnu/packages/readline.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2016-11-13 05:13:48 -0500
committerLeo Famulari <leo@famulari.name>2016-11-13 17:01:01 -0500
commitd9721bcf27a049a87ee54701b8cb8e38dffd1a44 (patch)
treef308d0de92ef8ac4909eea47e7c4af0e5b056372 /gnu/packages/readline.scm
parent27d7c4e93a2cc10b643a7da8930982dd6522fed4 (diff)
downloadguix-d9721bcf27a049a87ee54701b8cb8e38dffd1a44.tar.gz
gnu: readline-6.2: Fix CVE-2014-2524.
* gnu/packages/patches/readline-6.2-CVE-2014-2524.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/readline.scm (readline-6.2): Use it.
Diffstat (limited to 'gnu/packages/readline.scm')
-rw-r--r--gnu/packages/readline.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/readline.scm b/gnu/packages/readline.scm
index 6435e98234..43817791b5 100644
--- a/gnu/packages/readline.scm
+++ b/gnu/packages/readline.scm
@@ -84,6 +84,8 @@ comfortable for anyone.")
               (method url-fetch)
               (uri (string-append "mirror://gnu/readline/readline-"
                                   version ".tar.gz"))
+              (patches (search-patches "readline-6.2-CVE-2014-2524.patch"))
+              (patch-flags '("-p0"))
               (sha256
                (base32
                 "10ckm2bd2rkxhvdmj7nmbsylmihw0abwcsnxf8y27305183rd9kr"))))))