From af7be11f1d3d28779d4e6d78ae791bcd959fcbb8 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Sat, 28 Mar 2015 00:48:10 +0100 Subject: [PATCH] Regression: solve sshd segfaults if other instance already running --- openssh-6.7p1-audit.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssh-6.7p1-audit.patch b/openssh-6.7p1-audit.patch index 4cff7ad..4a06b32 100644 --- a/openssh-6.7p1-audit.patch +++ b/openssh-6.7p1-audit.patch @@ -456,7 +456,7 @@ diff -up openssh-6.8p1/audit-linux.c.audit openssh-6.8p1/audit-linux.c + } + audit_ok = audit_log_user_message(audit_fd, AUDIT_CRYPTO_KEY_USER, + buf, NULL, -+ listening_for_clients() ? NULL : get_remote_ipaddr(), ++ listening_for_clients() ? get_remote_ipaddr() : NULL, + NULL, 1); + audit_close(audit_fd); + /* do not abort if the error is EPERM and sshd is run as non root user */