frr: add patch for CVE-2022-37032

This commit is contained in:
Robert Scott
2022-09-20 23:25:24 +01:00
parent 2f8b8bc98d
commit 118179f32a
+9
View File
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
# build time
, autoreconfHook
@@ -41,6 +42,14 @@ stdenv.mkDerivation rec {
hash = "sha256-+M4xTdjCp5TJh0U8ZfUmw84Y7O0TZ9mmUXhh2J/QOE0=";
};
patches = [
(fetchpatch {
name = "CVE-2022-37032.patch";
url = "https://github.com/FRRouting/frr/commit/ff6db1027f8f36df657ff2e5ea167773752537ed.patch";
sha256 = "sha256-b3nT6xco620hMSqlj/nTWTJCegf3ARAGaQbii4Yq6Ag=";
})
];
nativeBuildInputs = [
autoreconfHook
bison