utillinux: patch CVE-2018-7738 (upstream)

On nixpkgs master/staging we have 2.32 - that includes this patch.
https://nvd.nist.gov/vuln/detail/CVE-2018-7738 claims 2.32-rc1 fixes
this and upstream master hasn't changed umount completion except for
this patch, so it has to be it. /cc #38994.
This commit is contained in:
Vladimír Čunát
2018-05-05 13:35:04 +02:00
parent e877435000
commit 7979cb54e6

View File

@@ -17,6 +17,11 @@ in stdenv.mkDerivation rec {
patches = [
./rtcwake-search-PATH-for-shutdown.patch
(fetchpatch {
name = "CVE-2018-7738.diff";
url = "https://github.com/karelzak/util-linux/commit/75f03badd7ed9.diff";
sha256 = "0b8x1s7b9bh9p8a99bpdgjbqzqwsvb7l7cf3yy83jip1c38p685w";
})
];
outputs = [ "bin" "dev" "out" "man" ];