summaryrefslogtreecommitdiff
path: root/security/openssh-portable
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-12-18 19:16:09 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-12-18 19:16:09 +0000
commite13125d76517563d31c20bef76a2ddb831ecaf1f (patch)
tree445243255dd9b2935ec8adb47f0a9244100604e4 /security/openssh-portable
parent-Update to 0.3.9a, should be fix with Python 2.4.x. (diff)
- sshd child process crashes when user with expired password logs in.
Fix unitialized pointer in our local patch. PR: ports/75204 Submitted by: Andriy Gapon <avg@icyb.net.ua>
Notes
Notes: svn path=/head/; revision=124407
Diffstat (limited to 'security/openssh-portable')
-rw-r--r--security/openssh-portable/files/patch-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/openssh-portable/files/patch-session.c b/security/openssh-portable/files/patch-session.c
index 2d9a901c2519..fcbeb4786025 100644
--- a/security/openssh-portable/files/patch-session.c
+++ b/security/openssh-portable/files/patch-session.c
@@ -63,7 +63,7 @@
+#endif /* HAVE_LOGIN_CAP */
+#ifdef __FreeBSD__
+#define DEFAULT_WARN (2L * 7L * 86400L) /* Two weeks */
-+ char *newcommand;
++ char *newcommand = NULL;
+ struct timeval tv;
+ time_t warntime = DEFAULT_WARN;
+#endif /* __FreeBSD__ */