diff options
author | Nick Cao <nickcao@nichi.co> | 2022-11-11 11:23:30 +0800 |
---|---|---|
committer | Nick Cao <nickcao@nichi.co> | 2022-11-11 11:23:59 +0800 |
commit | 2a374db62dceaa8683c4c52ca7d215d428a5f71a (patch) | |
tree | bb73d860994a56e2a34c2785f949d99f9e85ee46 /pkgs/servers/dns | |
parent | c1c640f123526630f6cecc0dd6671270e644cbc1 (diff) |
knot-dns: fix segfault in knsupdate
Diffstat (limited to 'pkgs/servers/dns')
-rw-r--r-- | pkgs/servers/dns/knot-dns/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/servers/dns/knot-dns/default.nix b/pkgs/servers/dns/knot-dns/default.nix index 8b0c066548f76..d212c65cec72b 100644 --- a/pkgs/servers/dns/knot-dns/default.nix +++ b/pkgs/servers/dns/knot-dns/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, pkg-config, gnutls, liburcu, lmdb, libcap_ng, libidn2, libunistring +{ lib, stdenv, fetchurl, fetchpatch, pkg-config, gnutls, liburcu, lmdb, libcap_ng, libidn2, libunistring , systemd, nettle, libedit, zlib, libiconv, libintl, libmaxminddb, libbpf, nghttp2, libmnl , ngtcp2-gnutls , autoreconfHook @@ -27,6 +27,11 @@ stdenv.mkDerivation rec { # They are later created from NixOS itself. ./dont-create-run-time-dirs.patch ./runtime-deps.patch + # knsupdate: fix segfault due to NULL pointer access when sending an update + (fetchpatch { + url = "https://gitlab.nic.cz/knot/knot-dns/-/commit/8a6645dab63d8fa7932c7d8f747fe33e8cc97e84.patch"; + hash = "sha256-qzhSdRH5GqHqN9eLMWbDXmjO4JagsMRSZh3NWRFprao="; + }) ]; nativeBuildInputs = [ pkg-config autoreconfHook ]; |