From 2803b77e52b45f0af8be32154841a68344ed80a9 Mon Sep 17 00:00:00 2001 From: Brian Feldman Date: Tue, 6 Jun 2000 06:16:55 +0000 Subject: [PATCH] Allow "DenyUsers" to function. --- crypto/openssh/servconf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/openssh/servconf.c b/crypto/openssh/servconf.c index 7bb92211ab6c..5441b2a544fa 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);