aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh-portable/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-12-19 03:16:09 +0800
committerpav <pav@FreeBSD.org>2004-12-19 03:16:09 +0800
commit53c0c140acbec6b9feb3dbcee4f1bdc336789f09 (patch)
tree33c7b14c3a625660bb45062ff3e5c5f348556ace /security/openssh-portable/files
parent2d519ae7702b16a1dd0c44128b7b68db8261f84d (diff)
downloadfreebsd-ports-gnome-53c0c140acbec6b9feb3dbcee4f1bdc336789f09.tar.gz
freebsd-ports-gnome-53c0c140acbec6b9feb3dbcee4f1bdc336789f09.tar.zst
freebsd-ports-gnome-53c0c140acbec6b9feb3dbcee4f1bdc336789f09.zip
- 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>
Diffstat (limited to 'security/openssh-portable/files')
-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__ */