Skip to content

Commit

Permalink
libvncserver: add CVE-2018-7225 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
marsam committed Dec 17, 2018
1 parent 9be286e commit 03fddb1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkgs/development/libraries/libvncserver/default.nix
@@ -1,4 +1,4 @@
{stdenv, fetchurl,
{stdenv, fetchurl, fetchpatch,
libtool, libjpeg, openssl, zlib, libgcrypt, autoreconfHook, pkgconfig, libpng,
systemd
}:
Expand All @@ -18,6 +18,13 @@ stdenv.mkDerivation {
src = fetchurl {
inherit (s) url sha256;
};
patches = [
# CVE-2018-7225. Remove with the next release
(fetchpatch {
url = https://salsa.debian.org/debian/libvncserver/raw/master/debian/patches/CVE-2018-7225.patch;
sha256 = "1hj1lzxsrdmzzl061vg0ncdpvfmvvkrpk8q12mp70qvszcqa7ja3";
})
];
preConfigure = ''
sed -e 's@/usr/include/linux@${stdenv.cc.libc}/include/linux@g' -i configure
'';
Expand Down

0 comments on commit 03fddb1

Please sign in to comment.