mupdf: apply patch for CVE-2018-6544 (part 2)

This (hopefully) completes 998b1ef.
This commit is contained in:
Andreas Rammhold 2018-02-23 22:25:37 +01:00
parent 49b7fc3908
commit a6664d8192
No known key found for this signature in database
GPG Key ID: E432E410B5E48C86

View File

@ -30,10 +30,15 @@ in stdenv.mkDerivation rec {
sha256 = "05i9v2ia586jyjqdb7g68ss4vkfwgp6cwhagc8zzggsba83azyqk";
})
(fetchpatch {
name = "CVE-2018-6544.patch";
name = "CVE-2018-6544.1.patch";
url = "http://git.ghostscript.com/?p=mupdf.git;a=commitdiff_plain;h=b03def134988da8c800adac1a38a41a1f09a1d89;hp=26527eef77b3e51c2258c8e40845bfbc015e405d";
sha256 = "1rlmjibl73ls8xfpsz69axa3lw5l47vb0a1dsjqziszsld4lpj5i";
})
(fetchpatch {
name = "CVE-2018-6544.2.patch";
url = "http://git.ghostscript.com/?p=mupdf.git;a=patch;h=26527eef77b3e51c2258c8e40845bfbc015e405d;hp=ab98356f959c7a6e94b1ec10f78dd2c33ed3f3e7";
sha256 = "1brcc029s5zmd6ya0d9qk3mh9qwx5g6vhsf1j8h879092sya5627";
})
]
# Use shared libraries to decrease size