openssh/SOURCES/openssh-8.7p1-CVE-2024-6387.patch

31 lines
705 B
Diff

From 0e3e0757b4fba0799f045594ad03cb55fb21560a Mon Sep 17 00:00:00 2001
From: Jonathan Wright <jonathan@almalinux.org>
Date: Mon, 1 Jul 2024 08:41:24 -0500
Subject: [PATCH] fix CVE-2024-2387
---
log.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/log.c b/log.c
index 42c6f9a..679c527 100644
--- a/log.c
+++ b/log.c
@@ -448,12 +448,14 @@ void
sshsigdie(const char *file, const char *func, int line, int showfunc,
LogLevel level, const char *suffix, const char *fmt, ...)
{
+#if 0
va_list args;
va_start(args, fmt);
sshlogv(file, func, line, showfunc, SYSLOG_LEVEL_FATAL,
suffix, fmt, args);
va_end(args);
+#endif
_exit(1);
}
--
2.45.2