frr: add patch for CVE-2024-27913
This commit is contained in:
parent
42c7d16b1b
commit
9d59b64009
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
|
|
||||||
# build time
|
# build time
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
|
@ -94,6 +95,15 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-oDPr51vI+tlT1IiUPufmZh/UE0TNKWrn4RqpnGoGxNo=";
|
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 = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
bison
|
bison
|
||||||
|
|
Loading…
Reference in New Issue
Block a user