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

This commit is contained in:
Ben Lindstrom 2001-02-15 03:50:49 +00:00
Родитель 2320b19002
Коммит 0a7e354f64
2 изменённых файлов: 18 добавлений и 17 удалений

Просмотреть файл

@ -20,23 +20,24 @@
ssh-keygen.c sshd.8]
PermitRootLogin={yes,without-password,forced-commands-only,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]
deal with EAGAIN/EINTR selects which were skipped
- markus@cvs.openssh.org 2001/02/13 22:49:40
[auth1.c auth2.c]
setproctitle(user) only if getpwnam succeeds
- markus@cvs.openbsd.org 2001/02/12 23:26:20
[sshd.c]
missing memset; from solar@openwall.com
- stevesk@cvs.openbsd.org 2001/02/12 20:53:33
[sftp-int.c]
lumask now works with 1 numeric arg; ok markus@, djm@
- djm@cvs.openbsd.org 2001/02/14 9:46:03
[sftp-client.c sftp-int.c sftp.1]
Fix and document 'preserve modes & times' option ('-p' flag in sftp);
ok markus@
- markus@cvs.openssh.org 2001/02/13 22:49:40
[auth1.c auth2.c]
setproctitle(user) only if getpwnam succeeds
- markus@cvs.openbsd.org 2001/02/12 23:26:20
[sshd.c]
missing memset; from solar@openwall.com
- stevesk@cvs.openbsd.org 2001/02/12 20:53:33
[sftp-int.c]
lumask now works with 1 numeric arg; ok markus@, djm@
- djm@cvs.openbsd.org 2001/02/14 9:46:03
[sftp-client.c sftp-int.c sftp.1]
Fix and document 'preserve modes & times' option ('-p' flag in sftp);
ok markus@
- replaced PATH_MAX in sftp-int.c w/ MAXPATHLEN.
20010214
- (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
@ -3964,4 +3965,4 @@
- Wrote replacements for strlcpy and mkdtemp
- 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 $

Просмотреть файл

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