mirror of https://gerrit.hackerspace.pl/hscloud
19 lines
535 B
Diff
19 lines
535 B
Diff
|
diff -u openssh-8.6p1.orig/log.c openssh-8.6p1/log.c
|
||
|
--- openssh-8.6p1.orig/log.c 2024-07-01 11:19:55.501633664 +0200
|
||
|
+++ openssh-8.6p1/log.c 2024-07-01 11:20:26.439904441 +0200
|
||
|
@@ -448,12 +448,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);
|
||
|
}
|
||
|
|