Skip to content

Commit

Permalink
avahi: apply patch for CVE-2024-52616 (#367827)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Dec 24, 2024
2 parents f05b70c + 41db15c commit 6f3402f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/libraries/avahi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
expat,
gettext,
glib,
autoreconfHook,
libiconv,
libevent,
nixosTests,
Expand Down Expand Up @@ -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 = [
Expand All @@ -136,6 +143,7 @@ stdenv.mkDerivation rec {
pkg-config
gettext
glib
autoreconfHook
];

buildInputs =
Expand Down

0 comments on commit 6f3402f

Please sign in to comment.