18 lines
455 B
C
18 lines
455 B
C
--- 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);
|
|
}
|
|
|