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

32 lines
674 B
Diff
Raw Normal View History

2024-07-01 17:28:42 +00:00
From c5e8a80082efd50234a26b5af28f437f4e54b6a3 Mon Sep 17 00:00:00 2001
From: Andrew Lukoshko <alukoshko@almalinux.org>
Date: Mon, 1 Jul 2024 13:53:00 +0000
Subject: [PATCH] Fix CVE-2024-6387
2024-07-01 13:50:53 +00:00
---
log.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/log.c b/log.c
2024-07-01 17:28:42 +00:00
index a2f9c75..4f04713 100644
2024-07-01 13:50:53 +00:00
--- a/log.c
+++ b/log.c
2024-07-01 17:28:42 +00:00
@@ -455,12 +455,14 @@ void
2024-07-01 13:50:53 +00:00
sshsigdie(const char *file, const char *func, int line, int showfunc,
LogLevel level, const char *suffix, const char *fmt, ...)
{
+#if 0
2024-07-01 17:28:42 +00:00
va_list args;
va_start(args, fmt);
sshlogv(file, func, line, showfunc, SYSLOG_LEVEL_FATAL,
suffix, fmt, args);
va_end(args);
2024-07-01 13:50:53 +00:00
+#endif
2024-07-01 17:28:42 +00:00
_exit(1);
2024-07-01 13:50:53 +00:00
}
2024-07-01 17:28:42 +00:00
--
2.43.5
2024-07-01 13:50:53 +00:00