wok-current diff openssh/stuff/CVE-2024-6387.patch @ rev 25725

Patch openssh CVE-2024-6387
author Stanislas Leduc <shann@slitaz.org>
date Mon Jul 01 15:09:44 2024 +0000 (14 months ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openssh/stuff/CVE-2024-6387.patch	Mon Jul 01 15:09:44 2024 +0000
     1.3 @@ -0,0 +1,17 @@
     1.4 +--- a/log.c
     1.5 ++++ b/log.c
     1.6 +@@ -451,12 +451,14 @@
     1.7 + sshsigdie(const char *file, const char *func, int line, int showfunc,
     1.8 +     LogLevel level, const char *suffix, const char *fmt, ...)
     1.9 + {
    1.10 ++#if 0
    1.11 + 	va_list args;
    1.12 + 
    1.13 + 	va_start(args, fmt);
    1.14 + 	sshlogv(file, func, line, showfunc, SYSLOG_LEVEL_FATAL,
    1.15 + 	    suffix, fmt, args);
    1.16 + 	va_end(args);
    1.17 ++#endif
    1.18 + 	_exit(1);
    1.19 + }
    1.20 +