dpdk: apply patch for CVE-2024-11614 (#366259)

This commit is contained in:
Jörg Thalheim
2024-12-23 14:05:46 +01:00
committed by GitHub
+9
View File
@@ -3,6 +3,7 @@
, pkg-config, meson, ninja, makeWrapper
, libbsd, numactl, libbpf, zlib, elfutils, jansson, openssl, libpcap, rdma-core
, doxygen, python3, pciutils
, fetchpatch
, withExamples ? []
, shared ? false
, machine ? (
@@ -50,6 +51,14 @@ stdenv.mkDerivation rec {
libbsd
];
patches = [
(fetchpatch {
name = "CVE-2024-11614.patch";
url = "https://git.dpdk.org/dpdk-stable/patch/?id=fdf13ea6fede07538fbe5e2a46fa6d4b2368fa81";
hash = "sha256-lD2mhPm5r1tWZb4IpzHa2SeK1DyQ3rwjzArRTpAgZAY=";
})
];
postPatch = ''
patchShebangs config/arm buildtools
'';