From b78ba2274f28deb8db6775e3211cccf29764f7b5 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Wed, 5 Oct 2016 13:18:56 -0400 Subject: gnu: libxi: Fix CVE-2016-{7945,7946}. * gnu/packages/patches/libxi-CVE-2016-7945-CVE-2016-7946.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/xorg.scm (libxi)[replacement]: New field. (libxi/fixed): New variable. --- gnu/packages/xorg.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages/xorg.scm') diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 5bd3aeec21..ce0c4f923e 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -4896,6 +4896,7 @@ new API's in libXft, or the legacy API's in libX11.") (define-public libxi (package (name "libxi") + (replacement libxi/fixed) (version "1.7.6") (source (origin @@ -4922,6 +4923,13 @@ new API's in libXft, or the legacy API's in libX11.") (description "Library for the XInput Extension to the X11 protocol.") (license license:x11))) +(define libxi/fixed + (package + (inherit libxi) + (source (origin + (inherit (package-source libxi)) + (patches (search-patches + "libxi-CVE-2016-7945-CVE-2016-7946.patch")))))) (define-public libxrandr (package -- cgit v1.2.3