diff --git a/patches/236439.patch b/patches/236439.patch new file mode 100644 index 00000000..ed5a9ec7 --- /dev/null +++ b/patches/236439.patch @@ -0,0 +1,13 @@ +diff --git a/pkgs/tools/networking/udp2raw/default.nix b/pkgs/tools/networking/udp2raw/default.nix +index 7bbba969ef1a4..b6466ce0be57b 100644 +--- a/pkgs/tools/networking/udp2raw/default.nix ++++ b/pkgs/tools/networking/udp2raw/default.nix +@@ -29,6 +29,8 @@ stdenv.mkDerivation rec { + + postPatch = '' + echo 'const char *gitversion = "${version}";' > git_version.h ++ # Adress sanitization crashes the application, reported upstream at https://github.com/wangyu-/udp2raw/issues/474 ++ substituteInPlace CMakeLists.txt --replace "sanitize=address," "sanitize=" + ''; + + nativeBuildInputs = [