From af7be11f1d3d28779d4e6d78ae791bcd959fcbb8 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Mar 30 2015 09:48:11 +0000 Subject: Regression: solve sshd segfaults if other instance already running --- 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 */