32 lines
674 B
Diff
32 lines
674 B
Diff
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
|
|
|
|
---
|
|
log.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/log.c b/log.c
|
|
index a2f9c75..4f04713 100644
|
|
--- a/log.c
|
|
+++ b/log.c
|
|
@@ -455,12 +455,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.43.5
|
|
|