Merge pull request #233687 from yayayayaka/cups-filters-fix-cve-2023-24805

cups-filters: fix CVE-2023-24805
This commit is contained in:
Weijia Wang 2023-05-26 15:20:23 +03:00 committed by GitHub
commit 455157f2fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 = [