summaryrefslogtreecommitdiff
path: root/backport-fix-CVE-2024-6387.patch
diff options
context:
space:
mode:
Diffstat (limited to 'backport-fix-CVE-2024-6387.patch')
-rw-r--r--backport-fix-CVE-2024-6387.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/backport-fix-CVE-2024-6387.patch b/backport-fix-CVE-2024-6387.patch
new file mode 100644
index 0000000..993151b
--- /dev/null
+++ b/backport-fix-CVE-2024-6387.patch
@@ -0,0 +1,28 @@
+Reference:https://www.qualys.com/2024/07/01/cve-2024-6387/regresshion.txt
+Conflict:NA
+---
+ log.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/log.c b/log.c
+index dca08e4..5ca403a 100644
+--- a/log.c
++++ b/log.c
+@@ -458,12 +458,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.33.0
+