This commit is contained in:
2024-10-07 17:46:18 +02:00
parent f3766011fd
commit a61e3278a0

View File

@ -0,0 +1,17 @@
--- log.c.orig 2023-07-19 08:31:34.000000000 +0200
+++ log.c 2024-10-07 17:44:12.049091000 +0200
@@ -451,12 +451,14 @@
sshsigdie(const char *file, const char *func, int line, int showfunc,
LogLevel level, const char *suffix, const char *fmt, ...)
{
+#ifdef SYSLOG_R_SAFE_IN_SIGHAND
va_list args;
va_start(args, fmt);
sshlogv(file, func, line, showfunc, SYSLOG_LEVEL_FATAL,
suffix, fmt, args);
va_end(args);
+#endif
_exit(1);
}