]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix to not set rlimits in the unit tests.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 17 Jul 2025 09:40:31 +0000 (11:40 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 17 Jul 2025 09:40:31 +0000 (11:40 +0200)
daemon/unbound.c
doc/Changelog

index 143f2d160d6e43a5dca89711b540ec28291f87c8..aa7cfc8e80b993efd4a19bd381e28cca16591de3 100644 (file)
@@ -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));
index 8daacc052af6d2842ed9c735bff74e800adc5646..e03bab37b7b5297e350fa54de74c788eff6b781c 100644 (file)
@@ -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.