avahi: apply patch for CVE-2024-52616 (#367827)

This commit is contained in:
Vladimír Čunát
2024-12-24 07:48:36 +01:00

View File

@@ -10,6 +10,7 @@
expat,
gettext,
glib,
autoreconfHook,
libiconv,
libevent,
nixosTests,
@@ -126,6 +127,12 @@ stdenv.mkDerivation rec {
"fuzz/fuzz-packet.c"
];
})
# https://github.com/avahi/avahi/pull/659 merged Nov 19
(fetchpatch {
name = "CVE-2024-52616.patch";
url = "https://github.com/avahi/avahi/commit/f8710bdc8b29ee1176fe3bfaeabebbda1b7a79f7.patch";
hash = "sha256-BUQOQ4evKLBzV5UV8xW8XL38qk1rg6MJ/vcT5NBckfA=";
})
];
depsBuildBuild = [
@@ -136,6 +143,7 @@ stdenv.mkDerivation rec {
pkg-config
gettext
glib
autoreconfHook
];
buildInputs =