- (djm) [sshd.c] Fix warning/API abuse; ok dtucker@
This commit is contained in:
parent
5965ae13e0
commit
1f062ca339
|
@ -11,6 +11,7 @@
|
|||
Scott Strickler, ok djm@.
|
||||
- (dtucker) [monitor.c] Correctly handle auditing of single commands when
|
||||
using Protocol 1. From jhb at freebsd.
|
||||
- (djm) [sshd.c] Fix warning/API abuse; ok dtucker@
|
||||
|
||||
20060912
|
||||
- (djm) [Makefile.in buildpkg.sh.in configure.ac openssh.xml.in]
|
||||
|
@ -5447,4 +5448,4 @@
|
|||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||
|
||||
$Id: ChangeLog,v 1.4548 2006/09/17 02:00:13 dtucker Exp $
|
||||
$Id: ChangeLog,v 1.4549 2006/09/17 04:04:46 djm Exp $
|
||||
|
|
2
sshd.c
2
sshd.c
|
@ -1436,7 +1436,7 @@ main(int ac, char **av)
|
|||
fatal("Privilege separation user %s does not exist",
|
||||
SSH_PRIVSEP_USER);
|
||||
memset(privsep_pw->pw_passwd, 0, strlen(privsep_pw->pw_passwd));
|
||||
strlcpy(privsep_pw->pw_passwd, "*", sizeof(privsep_pw->pw_passwd));
|
||||
privsep_pw->pw_passwd = "*";
|
||||
privsep_pw = pwcopy(privsep_pw);
|
||||
endpwent();
|
||||
|
||||
|
|
Loading…
Reference in New Issue