Commit 25fa8c87 authored by Robert Scott's avatar Robert Scott
Browse files

sngrep: add patch for CVE-2023-36192

parent 058a0bba
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
, autoconf
, automake
, fetchFromGitHub
, fetchpatch
, libpcap
, ncurses
, openssl
@@ -20,6 +21,14 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-gFba2wOU4GwpOZTo5A2QpBgnC6OgDJEeyaPGHbA+7tA=";
  };

  patches = [
    (fetchpatch {
      name = "CVE-2023-36192.patch";
      url = "https://github.com/irontec/sngrep/commit/ad1daf15c8387bfbb48097c25197bf330d2d98fc.patch";
      hash = "sha256-g8fxvxi3d7jmZEKTbxqw29hJbm/ShsKKxstsOUGxTug=";
    })
  ];

  nativeBuildInputs = [
    autoconf
    automake