qemu: apply patch for CVE-2017-17381

More details at [1].

[1] http://www.openwall.com/lists/oss-security/2017/12/05/2
This commit is contained in:
Andreas Rammhold 2017-12-05 09:44:47 +01:00
parent fd7953d95f
commit d72974a207

View File

@ -67,6 +67,10 @@ stdenv.mkDerivation rec {
name = "qemu-CVE-2017-15118.patch";
url = "http://git.qemu.org/?p=qemu.git;a=patch;h=51ae4f8455c9e32c54770c4ebc25bf86a8128183";
sha256 = "0f9i096dz3h1i8g92y99vak23rjs1shf7prlcxqizsz0fah7wx7h"; })
(fetchpatch {
name = "qemu-CVE-2017-17381.patch";
url = "https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git/patch/?id=758ead31c7e17bf17a9ef2e0ca1c3e86ab296b43";
sha256 = "17yw4bqsbywdrbmrikr94yjnfsg853bf4i3k4y3k169387da2yc5"; })
];
hardeningDisable = [ "stackprotector" ];