f8883a97a0
- Rebase to 1.9.5p2 - CVE-2023-28486 sudo: Sudo does not escape control characters in log messages Resolves: RHEL-21825 - CVE-2023-28487 sudo: Sudo does not escape control characters in sudoreplay output Resolves: RHEL-21831 - CVE-2023-42465 sudo: Targeted Corruption of Register and Stack Variables Resolves: RHEL-21820 Signed-off-by: Radovan Sroka <rsroka@redhat.com>
20 lines
702 B
Diff
20 lines
702 B
Diff
diff -up ./plugins/sudoers/audit.c.undefined ./plugins/sudoers/audit.c
|
|
--- ./plugins/sudoers/audit.c.undefined 2021-07-12 14:59:53.472306208 +0200
|
|
+++ ./plugins/sudoers/audit.c 2021-07-12 15:00:45.620620369 +0200
|
|
@@ -197,7 +197,6 @@ sudoers_audit_open(unsigned int version,
|
|
debug_return_int(ret);
|
|
}
|
|
|
|
-#ifdef SUDOERS_LOG_CLIENT
|
|
static void
|
|
audit_to_eventlog(struct eventlog *evlog, char * const command_info[],
|
|
char * const run_argv[], char * const run_envp[])
|
|
@@ -244,6 +243,7 @@ audit_to_eventlog(struct eventlog *evlog
|
|
debug_return;
|
|
}
|
|
|
|
+#ifdef SUDOERS_LOG_CLIENT
|
|
static bool
|
|
log_server_accept(char * const command_info[], char * const run_argv[],
|
|
char * const run_envp[])
|