cups-filters: Fix CVE-2023-24805

https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-gpxc-v2m8-fr3x
This commit is contained in:
Yaya 2023-05-23 21:30:51 +00:00
parent 3c7eb7a1bc
commit bb8168bf78

View File

@ -6,6 +6,7 @@
, dbus
, dejavu_fonts
, fetchurl
, fetchpatch
, fontconfig
, gawk
, ghostscript
@ -40,6 +41,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-qQfsdp+7cu+/v5tUCyUKCOM7bjc6inw0P5hA+6TQR4s=";
};
patches = [
(fetchpatch {
name = "CVE-2023-24805.patch";
url = "https://github.com/OpenPrinting/cups-filters/commit/93e60d3df358c0ae6f3dba79e1c9684657683d89.patch";
hash = "sha256-KgWTYFr2uShL040azzE+KaNyBPy7Gs/hCnEgQmmPCys=";
})
];
nativeBuildInputs = [ pkg-config makeWrapper ];
buildInputs = [