Unverified Commit 83e902bb authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

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

parents d510f60a 4ca8c943
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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
  '';