- replaced PATH_MAX in sftp-int.c w/ MAXPATHLEN.

This commit is contained in:
Ben Lindstrom 2001-02-15 03:50:49 +00:00
parent 2320b19002
commit 0a7e354f64
2 changed files with 18 additions and 17 deletions

View File

@ -20,23 +20,24 @@
ssh-keygen.c sshd.8] ssh-keygen.c sshd.8]
PermitRootLogin={yes,without-password,forced-commands-only,no} PermitRootLogin={yes,without-password,forced-commands-only,no}
(before this change, root could login even if PermitRootLogin==no) (before this change, root could login even if PermitRootLogin==no)
- deraadt@cvs.openbsd.org 2001/02/12 22:56:09 - deraadt@cvs.openbsd.org 2001/02/12 22:56:09
[clientloop.c packet.c ssh-keyscan.c] [clientloop.c packet.c ssh-keyscan.c]
deal with EAGAIN/EINTR selects which were skipped deal with EAGAIN/EINTR selects which were skipped
- markus@cvs.openssh.org 2001/02/13 22:49:40 - markus@cvs.openssh.org 2001/02/13 22:49:40
[auth1.c auth2.c] [auth1.c auth2.c]
setproctitle(user) only if getpwnam succeeds setproctitle(user) only if getpwnam succeeds
- markus@cvs.openbsd.org 2001/02/12 23:26:20 - markus@cvs.openbsd.org 2001/02/12 23:26:20
[sshd.c] [sshd.c]
missing memset; from solar@openwall.com missing memset; from solar@openwall.com
- stevesk@cvs.openbsd.org 2001/02/12 20:53:33 - stevesk@cvs.openbsd.org 2001/02/12 20:53:33
[sftp-int.c] [sftp-int.c]
lumask now works with 1 numeric arg; ok markus@, djm@ lumask now works with 1 numeric arg; ok markus@, djm@
- djm@cvs.openbsd.org 2001/02/14 9:46:03 - djm@cvs.openbsd.org 2001/02/14 9:46:03
[sftp-client.c sftp-int.c sftp.1] [sftp-client.c sftp-int.c sftp.1]
Fix and document 'preserve modes & times' option ('-p' flag in sftp); Fix and document 'preserve modes & times' option ('-p' flag in sftp);
ok markus@ ok markus@
- replaced PATH_MAX in sftp-int.c w/ MAXPATHLEN.
20010214 20010214
- (djm) Don't try to close PAM session or delete credentials if the - (djm) Don't try to close PAM session or delete credentials if the
session has not been open or credentials not set. Based on patch from session has not been open or credentials not set. Based on patch from
@ -3964,4 +3965,4 @@
- Wrote replacements for strlcpy and mkdtemp - Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1 - Released 1.0pre1
$Id: ChangeLog,v 1.769 2001/02/15 03:22:45 mouring Exp $ $Id: ChangeLog,v 1.770 2001/02/15 03:50:49 mouring Exp $

View File

@ -443,7 +443,7 @@ parse_dispatch_command(int in, int out, const char *cmd, char **pwd)
int pflag, cmdnum; int pflag, cmdnum;
unsigned long n_arg; unsigned long n_arg;
Attrib a, *aa; Attrib a, *aa;
char path_buf[PATH_MAX]; char path_buf[MAXPATHLEN];
path1 = path2 = NULL; path1 = path2 = NULL;
cmdnum = parse_args(&cmd, &pflag, &n_arg, &path1, &path2); cmdnum = parse_args(&cmd, &pflag, &n_arg, &path1, &path2);