summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-06-06 06:16:55 +0000
committergreen <green@FreeBSD.org>2000-06-06 06:16:55 +0000
commitba3f3c2ac7e2d3c0db4e6534051fedbd6cfd0abb (patch)
tree4e0300eb2b8f83a8b1e79b33fe8f0cc8008b86c0 /crypto
parentf2c52a3829a1f756b4e92001f18186c9e8fdb06c (diff)
downloadFreeBSD-src-ba3f3c2ac7e2d3c0db4e6534051fedbd6cfd0abb.zip
FreeBSD-src-ba3f3c2ac7e2d3c0db4e6534051fedbd6cfd0abb.tar.gz
Allow "DenyUsers" to function.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/openssh/servconf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/openssh/servconf.c b/crypto/openssh/servconf.c
index 7bb9221..5441b2a 100644
--- a/crypto/openssh/servconf.c
+++ b/crypto/openssh/servconf.c
@@ -596,6 +596,7 @@ parse_flag:
case sDenyUsers:
while ((cp = strtok(NULL, WHITESPACE))) {
+ if (options->num_deny_users >= MAX_DENY_USERS)
fatal("%.200s line %d: too many deny users.\n",
filename, linenum);
options->deny_users[options->num_deny_users++] = xstrdup(cp);
OpenPOWER on IntegriCloud