p7zip: add patch to fix CVE-2017-17969
commiteaaca14c30ff539f02354b7524da8d0df491d728
authorFranz Pletz <fpletz@fnordicwalking.de>
dateMon 29 Jan 2018, 10:54 (9 years ago)
parentf8c4ccd
pkgs/tools/archivers/p7zip/default.nix+5
@@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
1515 url = "https://src.fedoraproject.org/cgit/rpms/p7zip.git/plain/${name}?id=4b3973f6a5d";
1616 sha256 = "09wbkzai46bwm8zmplsz0m4jck3qn7snr68i9p1gsih300zidj0m";
1717 })
18+ (fetchpatch rec {
19+ name = "CVE-2017-17969.patch";
20+ url = "https://anonscm.debian.org/cgit/users/robert/p7zip.git/plain/debian/patches/13-${name}?h=debian/16.02%2bdfsg-5";
21+ sha256 = "16lbf6rgyl7xwxfjgg1243jvi39yb3i5pgqfnxswyc0jzhxv81d7";
22+ })
1823 ];
1924
2025 # Default makefile is full of impurities on Darwin. The patch doesn't hurt Linux so I'm leaving it unconditional