From b58af78b637228834f27eb5b05f4913309c0a853 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Thu, 17 Jul 2025 11:40:31 +0200 Subject: [PATCH] - Fix to not set rlimits in the unit tests. --- daemon/unbound.c | 2 +- doc/Changelog | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/daemon/unbound.c b/daemon/unbound.c index 143f2d160..aa7cfc8e8 100644 --- a/daemon/unbound.c +++ b/daemon/unbound.c @@ -174,7 +174,7 @@ static void checkrlimits(struct config_file* cfg) { #ifndef S_SPLINT_S -#ifdef HAVE_GETRLIMIT +#if defined(HAVE_GETRLIMIT) && !defined(unbound_testbound) /* list has number of ports to listen to, ifs number addresses */ int list = ((cfg->do_udp?1:0) + (cfg->do_tcp?1 + (int)cfg->incoming_num_tcp:0)); diff --git a/doc/Changelog b/doc/Changelog index 8daacc052..e03bab37b 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +17 July 2025: Wouter + - Fix to not set rlimits in the unit tests. + 16 July 2025: Wouter - Fix for RebirthDay Attack CVE-2025-5994, reported by Xiang Li from AOSP Lab Nankai University. -- 2.47.3