From: W.C.A. Wijngaards Date: Thu, 17 Jul 2025 09:40:31 +0000 (+0200) Subject: - Fix to not set rlimits in the unit tests. X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=b58af78b637228834f27eb5b05f4913309c0a853;p=thirdparty%2Funbound.git - Fix to not set rlimits in the unit tests. --- 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.