Skip to content

Commit

Permalink
Merge pull request #58355 from andir/18.09/ghostscript-CVE-2019-6116
Browse files Browse the repository at this point in the history
[18.09] ghostscript: add patch for CVE-2019-6116
  • Loading branch information
flokli committed Mar 28, 2019
2 parents 7fcf299 + 29ed7c8 commit 2248385
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/misc/ghostscript/default.nix
@@ -1,6 +1,6 @@
{ stdenv, lib, fetchurl, pkgconfig, zlib, expat, openssl, autoconf
, libjpeg, libpng, libtiff, freetype, fontconfig, libpaper, jbig2dec
, libiconv, ijs
, libiconv, ijs, fetchpatch
, x11Support ? false, xlibsWrapper ? null
, cupsSupport ? false, cups ? null
}:
Expand Down Expand Up @@ -45,6 +45,11 @@ stdenv.mkDerivation rec {
patches = [
./urw-font-files.patch
./doc-no-ref.diff
(fetchpatch {
name = "CVE-2019-6116";
url = "http://git.ghostscript.com/?p=ghostpdl.git;a=patch;h=d3537a54740d78c5895ec83694a07b3e4f616f61";
sha256 = "1hr8bpi87bbg1kvv28kflmfh1dhzxw66p9q0ddvbrj72qd86p3kx";
})
];

outputs = [ "out" "man" "doc" ];
Expand Down

0 comments on commit 2248385

Please sign in to comment.