- (dtucker) [sshd.c] add line missing from reexec sync.

This commit is contained in:
Darren Tucker 2004-06-25 14:22:23 +10:00
parent 60bd4098f6
commit 17c5d03ad3
2 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,7 @@
clean reexec-specific junk out of text-exec.sh and simplify; idea markus@
- (dtucker) [configure.ac openbsd-compat/misc.c [openbsd-compat/misc.h]
Add closefrom() for platforms that don't have it.
- (dtucker) [sshd.c] add line missing from reexec sync.
20040623
- (dtucker) [auth1.c] Ensure do_pam_account is called for Protocol 1
@ -1418,4 +1419,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.3448 2004/06/25 04:03:34 dtucker Exp $
$Id: ChangeLog,v 1.3449 2004/06/25 04:22:23 dtucker Exp $

1
sshd.c
View File

@ -895,6 +895,7 @@ main(int ac, char **av)
/* Save argv. Duplicate so setproctitle emulation doesn't clobber it */
saved_argc = ac;
rexec_argc = ac;
saved_argv = xmalloc(sizeof(*saved_argv) * (ac + 1));
for (i = 0; i < ac; i++)
saved_argv[i] = xstrdup(av[i]);