qemu: apply patch for CVE-2017-17381
More details at [1].
[1] http://www.openwall.com/lists/oss-security/2017/12/05/2
commitd72974a20798ee6af4ea341aa1a0a95cb59764ed
authorAndreas Rammhold <andreas@rammhold.de>
dateTue 5 Dec 2017, 09:44 (9 years ago)
parentfd7953d
pkgs/applications/virtualization/qemu/default.nix+4
@@ -67,6 +67,10 @@ stdenv.mkDerivation rec {
6767 name = "qemu-CVE-2017-15118.patch";
6868 url = "http://git.qemu.org/?p=qemu.git;a=patch;h=51ae4f8455c9e32c54770c4ebc25bf86a8128183";
6969 sha256 = "0f9i096dz3h1i8g92y99vak23rjs1shf7prlcxqizsz0fah7wx7h"; })
70+ (fetchpatch {
71+ name = "qemu-CVE-2017-17381.patch";
72+ url = "https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git/patch/?id=758ead31c7e17bf17a9ef2e0ca1c3e86ab296b43";
73+ sha256 = "17yw4bqsbywdrbmrikr94yjnfsg853bf4i3k4y3k169387da2yc5"; })
7074 ];
7175
7276 hardeningDisable = [ "stackprotector" ];