Unverified Commit 37fe5f6f authored by Thomas Gerbet's avatar Thomas Gerbet Committed by GitHub
Browse files

Merge pull request #294821 from risicle/ris-frr-CVE-2024-27913

frr: add patch for CVE-2024-27913
parents f5736d92 9d59b640
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch

# build time
, autoreconfHook
@@ -94,6 +95,15 @@ stdenv.mkDerivation rec {
    hash = "sha256-oDPr51vI+tlT1IiUPufmZh/UE0TNKWrn4RqpnGoGxNo=";
  };

  patches = [
    # fixes crash in OSPF TE parsing
    (fetchpatch {
      name = "CVE-2024-27913.patch";
      url = "https://github.com/FRRouting/frr/commit/541503eecd302d2cc8456167d130014cd2cf1134.patch";
      hash = "sha256-7NxPlQK/6lbLs/NqNi4OZ2uBWfXw99SiXDR6okNvJlg=";
    })
  ];

  nativeBuildInputs = [
    autoreconfHook
    bison