Resolves: RHEL-132941 - iperf3 broken once "--logfile" is specified on server side

This commit is contained in:
Michal Ruprich 2026-01-20 20:49:15 +01:00
parent 85bd0ea103
commit 22be0d38be
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/src/main.c b/src/main.c
index 57d5f40..eb29f87 100644
--- a/src/main.c
+++ b/src/main.c
@@ -154,7 +154,7 @@ run(struct iperf_test *test)
case 's':
if (test->daemon) {
int rc;
- rc = daemon(0, 0);
+ rc = daemon(1, 0);
if (rc < 0) {
i_errno = IEDAEMON;
iperf_errexit(test, "error - %s", iperf_strerror(i_errno));

View File

@ -1,6 +1,6 @@
Name: iperf3
Version: 3.9
Release: 15%{?dist}
Release: 16%{?dist}
Summary: Measurement tool for TCP/UDP bandwidth performance
License: BSD
@ -11,6 +11,7 @@ Patch0001: 0001-cve-2023-7250.patch
Patch0002: 0002-cve-2024-26306.patch
Patch0003: 0003-cve-2024-53580.patch
Patch0004: 0004-cve-2025-54349.patch
Patch0005: 0005-logfile-image-mode.patch
BuildRequires: libuuid-devel
BuildRequires: gcc
@ -58,6 +59,9 @@ rm -f %{buildroot}%{_libdir}/libiperf.la
%{_libdir}/*.so
%changelog
* Tue Jan 20 2026 Michal Ruprich <mruprich@redhat.com> - 3.9-16
- Resolves: RHEL-132941 - iperf3 broken once "--logfile" is specified on server side
* Tue Jan 20 2026 Michal Ruprich <mruprich@redhat.com> - 3.9-15
- Resolves: RHEL-136179 - iperf Heap Buffer Overflow (CVE-2025-54349)