Skip to content

Commit

Permalink
libcue: apply patch for CVE-2023-43641
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSuisse committed Oct 10, 2023
1 parent 147d129 commit 6335cf6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/development/libraries/libcue/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, bison, flex }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, bison, flex }:

stdenv.mkDerivation rec {
pname = "libcue";
Expand All @@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
sha256 = "1iqw4n01rv2jyk9lksagyxj8ml0kcfwk67n79zy1r6zv1xfp5ywm";
};

patches = [
(fetchpatch {
name = "CVE-2023-43641.patch";
url = "https://github.com/lipnitsk/libcue/commit/fdf72c8bded8d24cfa0608b8e97f2eed210a920e.patch";
hash = "sha256-NjnSMUfman/SwLFWDIhtz2jCOLfpXGGGjO3QwRGURNg=";
})
];

nativeBuildInputs = [ cmake bison flex ];

doCheck = false; # fails all the tests (ctest)
Expand Down

0 comments on commit 6335cf6

Please sign in to comment.