Skip to content

Commit

Permalink
fop: apply patch for CVE-2024-28168
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSuisse authored and bjornfor committed Oct 12, 2024
1 parent 69151ff commit 5629952
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/tools/typesetting/fop/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, ant
, jdk
, jre
Expand All @@ -17,6 +18,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-b7Av17wu6Ar/npKOiwYqzlvBFSIuXTpqTacM1sxtBvc=";
};

patches = [
(fetchpatch {
name = "CVE-2024-28168.patch";
url = "https://github.com/apache/xmlgraphics-fop/commit/d96ba9a11710d02716b6f4f6107ebfa9ccec7134.patch";
hash = "sha256-zmUA1Tq6iZtvNECCiXebXodp6AikBn10NTZnVHpPMlw=";
})
];

nativeBuildInputs = [
ant
jdk
Expand Down

0 comments on commit 5629952

Please sign in to comment.