Skip to content

Commit

Permalink
ghostscript: add patch for CVE-2023-28879
Browse files Browse the repository at this point in the history
  • Loading branch information
risicle authored and vcunat committed Apr 13, 2023
1 parent 97ee5ee commit 4402598
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/misc/ghostscript/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
, libiconv, ijs, lcms2, callPackage, bash, buildPackages, openjpeg
, cupsSupport ? config.ghostscript.cups or (!stdenv.isDarwin), cups
, x11Support ? cupsSupport, xorg # with CUPS, X11 only adds very little
, fetchpatch
}:

let
Expand Down Expand Up @@ -40,6 +41,11 @@ stdenv.mkDerivation rec {
patches = [
./urw-font-files.patch
./doc-no-ref.diff
(fetchpatch {
name = "CVE-2023-28879.patch";
url = "https://git.ghostscript.com/?p=ghostpdl.git;a=patch;h=37ed5022cecd584de868933b5b60da2e995b3179";
sha256 = "sha256-nJtFpvlKDj80qZ/XLtcXc5iznVvgpV9DhNiMaUkZKhY=";
})
];

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

0 comments on commit 4402598

Please sign in to comment.