dpdk: apply patch for CVE-2024-11614

https://www.openwall.com/lists/oss-security/2024/12/17/3
This commit is contained in:
Thomas Gerbet 2024-12-18 20:07:30 +01:00
parent de74239c7c
commit 4ca8c943ac

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
'';