summaryrefslogtreecommitdiffstats
path: root/pkgs/misc/ghostscript
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2019-05-24 23:21:38 +0100
committerRobert Scott <code@humanleg.org.uk>2019-05-24 23:21:38 +0100
commitf55969bbb365f63d4608876a4dc3522712d4c737 (patch)
tree06c3599840e7db2231a1253a7dc275bdf1390123 /pkgs/misc/ghostscript
parentf0adad2d01a436c8b7072d126259dc41610d87c6 (diff)
ghostscript: add patches for CVE-2019-3839
Diffstat (limited to 'pkgs/misc/ghostscript')
-rw-r--r--pkgs/misc/ghostscript/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/misc/ghostscript/default.nix b/pkgs/misc/ghostscript/default.nix
index a12d7d7d5acd..446aac629829 100644
--- a/pkgs/misc/ghostscript/default.nix
+++ b/pkgs/misc/ghostscript/default.nix
@@ -51,6 +51,16 @@ stdenv.mkDerivation rec {
url = "http://git.ghostscript.com/?p=ghostpdl.git;a=patch;h=d3537a54740d78c5895ec83694a07b3e4f616f61";
sha256 = "1hr8bpi87bbg1kvv28kflmfh1dhzxw66p9q0ddvbrj72qd86p3kx";
})
+ (fetchpatch {
+ name = "CVE-2019-3839-part-1";
+ url = "http://git.ghostscript.com/?p=ghostpdl.git;a=patch;h=4ec9ca74bed49f2a82acb4bf430eae0d8b3b75c9";
+ sha256 = "0gn1n9fq5msrxxzspidcnmykp1iv3yvx5485fddmgrslr52ngcf9";
+ })
+ (fetchpatch {
+ name = "CVE-2019-3839-part-2";
+ url = "http://git.ghostscript.com/?p=ghostpdl.git;a=patch;h=db24f253409d5d085c2760c814c3e1d3fa2dac59";
+ sha256 = "1h6kpwc6ryr6jlxjr6bfnvmmf8x0kqmyjlx3hggqjs23n0wsr9p9";
+ })
];
outputs = [ "out" "man" "doc" ];