Unverified Commit 97ec5b4c authored by K900's avatar K900 Committed by GitHub
Browse files

Merge pull request #260191 from LeSuisse/libcue-CVE-2023-43641

libcue: apply patch for CVE-2023-43641
parents b08ed152 6335cf6c
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, cmake, bison, flex }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, bison, flex }:

stdenv.mkDerivation rec {
  pname = "libcue";
@@ -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)