From 889ec6799ce6b5e93e6aad067a0864c3fb3b8324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20L=C3=B3pez?= Date: Wed, 16 Jul 2025 17:22:16 +0200 Subject: [PATCH] RHEL 8.10.0.Z ERRATUM - Missing separator in the log Resolves: RHEL-71913 --- sudo-separator.patch | 15 +++++++++++++++ sudo.spec | 4 ++++ 2 files changed, 19 insertions(+) create mode 100644 sudo-separator.patch diff --git a/sudo-separator.patch b/sudo-separator.patch new file mode 100644 index 0000000..70a5e6e --- /dev/null +++ b/sudo-separator.patch @@ -0,0 +1,15 @@ +diff --git a/lib/eventlog/eventlog.c b/lib/eventlog/eventlog.c +index 0febe66..d9f0400 100644 +--- a/lib/eventlog/eventlog.c ++++ b/lib/eventlog/eventlog.c +@@ -176,6 +176,7 @@ new_logline(int event_type, int flags, struct eventlog_args *args, + sudo_lbuf_append_esc(&lbuf, LBUF_ESC_CNTRL, " %s", + evlog->env_add[i]); + } ++ sudo_lbuf_append(&lbuf, " ; "); + } + if (evlog->command != NULL) { + sudo_lbuf_append_esc(&lbuf, LBUF_ESC_CNTRL|LBUF_ESC_BLANK, +-- +2.50.1 + diff --git a/sudo.spec b/sudo.spec index 46261dc..fea9687 100644 --- a/sudo.spec +++ b/sudo.spec @@ -55,6 +55,7 @@ Patch19: sudo-1.9.15-CVE-2023-42465.patch Patch20: sudo-1.9.17-CVE-2025-32462.patch Patch21: sudo-reintroduce-cmnd_no_wait.patch +Patch22: sudo-separator.patch %description Sudo (superuser do) allows a system administrator to give certain @@ -101,6 +102,7 @@ plugins that use %{name}. %patch -P 19 -p1 -b .rowhammer %patch -P 20 -p1 -b .cve-host %patch -P 21 -p1 -b .cmnd_no_wait +%patch -P 22 -p1 -b .separator %build # Remove bundled copy of zlib @@ -280,6 +282,8 @@ rm -rf $RPM_BUILD_ROOT RHEL 8.10.0.Z ERRATUM - Reintroduce cmnd_no_wait Resolves: RHEL-51956 +- Missing separator in the log +Resolves: RHEL-71913 * Wed Jun 25 2025 Radovan Sroka - 1.9.5p2-10.1 RHEL 8.10.0.Z ERRATUM