23 lines
597 B
Diff
23 lines
597 B
Diff
|
|
Reference:https://www.openwall.com/lists/oss-security/2024/07/08/2
|
||
|
|
Conflict:NA
|
||
|
|
---
|
||
|
|
sshd.c | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/sshd.c b/sshd.c
|
||
|
|
index cf7381e..04b7357 100644
|
||
|
|
--- a/sshd.c
|
||
|
|
+++ b/sshd.c
|
||
|
|
@@ -384,7 +384,7 @@ grace_alarm_handler(int sig)
|
||
|
|
|
||
|
|
/* Log error and exit. */
|
||
|
|
if (use_privsep && pmonitor != NULL && pmonitor->m_pid <= 0)
|
||
|
|
- cleanup_exit(255); /* don't log in privsep child */
|
||
|
|
+ _exit(1); /* don't log in privsep child */
|
||
|
|
else {
|
||
|
|
sigdie("Timeout before authentication for %s port %d",
|
||
|
|
ssh_remote_ipaddr(the_active_state),
|
||
|
|
--
|
||
|
|
2.43.0
|
||
|
|
|