summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index e61adc1b5..6159a5b6a 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1436,7 +1436,7 @@ main(int ac, char **av)
1436 fatal("Privilege separation user %s does not exist", 1436 fatal("Privilege separation user %s does not exist",
1437 SSH_PRIVSEP_USER); 1437 SSH_PRIVSEP_USER);
1438 memset(privsep_pw->pw_passwd, 0, strlen(privsep_pw->pw_passwd)); 1438 memset(privsep_pw->pw_passwd, 0, strlen(privsep_pw->pw_passwd));
1439 strlcpy(privsep_pw->pw_passwd, "*", sizeof(privsep_pw->pw_passwd)); 1439 privsep_pw->pw_passwd = "*";
1440 privsep_pw = pwcopy(privsep_pw); 1440 privsep_pw = pwcopy(privsep_pw);
1441 endpwent(); 1441 endpwent();
1442 1442