summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-02-15 03:50:49 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-02-15 03:50:49 +0000
commit0a7e354f646169bd53ee85ab72f17ccf5ad81570 (patch)
tree27656438c1d61c7b165df3faaf431807578c5de9
parent2320b1900209f7eb8baeada674c0c479fe0f2827 (diff)
- replaced PATH_MAX in sftp-int.c w/ MAXPATHLEN.
-rw-r--r--ChangeLog33
-rw-r--r--sftp-int.c2
2 files changed, 18 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index 7da95d3c4..2a0b9cb30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -20,23 +20,24 @@
20 ssh-keygen.c sshd.8] 20 ssh-keygen.c sshd.8]
21 PermitRootLogin={yes,without-password,forced-commands-only,no} 21 PermitRootLogin={yes,without-password,forced-commands-only,no}
22 (before this change, root could login even if PermitRootLogin==no) 22 (before this change, root could login even if PermitRootLogin==no)
23 - deraadt@cvs.openbsd.org 2001/02/12 22:56:09 23 - deraadt@cvs.openbsd.org 2001/02/12 22:56:09
24 [clientloop.c packet.c ssh-keyscan.c] 24 [clientloop.c packet.c ssh-keyscan.c]
25 deal with EAGAIN/EINTR selects which were skipped 25 deal with EAGAIN/EINTR selects which were skipped
26 - markus@cvs.openssh.org 2001/02/13 22:49:40 26 - markus@cvs.openssh.org 2001/02/13 22:49:40
27 [auth1.c auth2.c] 27 [auth1.c auth2.c]
28 setproctitle(user) only if getpwnam succeeds 28 setproctitle(user) only if getpwnam succeeds
29 - markus@cvs.openbsd.org 2001/02/12 23:26:20 29 - markus@cvs.openbsd.org 2001/02/12 23:26:20
30 [sshd.c] 30 [sshd.c]
31 missing memset; from solar@openwall.com 31 missing memset; from solar@openwall.com
32 - stevesk@cvs.openbsd.org 2001/02/12 20:53:33 32 - stevesk@cvs.openbsd.org 2001/02/12 20:53:33
33 [sftp-int.c] 33 [sftp-int.c]
34 lumask now works with 1 numeric arg; ok markus@, djm@ 34 lumask now works with 1 numeric arg; ok markus@, djm@
35 - djm@cvs.openbsd.org 2001/02/14 9:46:03 35 - djm@cvs.openbsd.org 2001/02/14 9:46:03
36 [sftp-client.c sftp-int.c sftp.1] 36 [sftp-client.c sftp-int.c sftp.1]
37 Fix and document 'preserve modes & times' option ('-p' flag in sftp); 37 Fix and document 'preserve modes & times' option ('-p' flag in sftp);
38 ok markus@ 38 ok markus@
39 39 - replaced PATH_MAX in sftp-int.c w/ MAXPATHLEN.
40
4020010214 4120010214
41 - (djm) Don't try to close PAM session or delete credentials if the 42 - (djm) Don't try to close PAM session or delete credentials if the
42 session has not been open or credentials not set. Based on patch from 43 session has not been open or credentials not set. Based on patch from
@@ -3964,4 +3965,4 @@
3964 - Wrote replacements for strlcpy and mkdtemp 3965 - Wrote replacements for strlcpy and mkdtemp
3965 - Released 1.0pre1 3966 - Released 1.0pre1
3966 3967
3967$Id: ChangeLog,v 1.769 2001/02/15 03:22:45 mouring Exp $ 3968$Id: ChangeLog,v 1.770 2001/02/15 03:50:49 mouring Exp $
diff --git a/sftp-int.c b/sftp-int.c
index fd649822a..d0914dde8 100644
--- a/sftp-int.c
+++ b/sftp-int.c
@@ -443,7 +443,7 @@ parse_dispatch_command(int in, int out, const char *cmd, char **pwd)
443 int pflag, cmdnum; 443 int pflag, cmdnum;
444 unsigned long n_arg; 444 unsigned long n_arg;
445 Attrib a, *aa; 445 Attrib a, *aa;
446 char path_buf[PATH_MAX]; 446 char path_buf[MAXPATHLEN];
447 447
448 path1 = path2 = NULL; 448 path1 = path2 = NULL;
449 cmdnum = parse_args(&cmd, &pflag, &n_arg, &path1, &path2); 449 cmdnum = parse_args(&cmd, &pflag, &n_arg, &path1, &path2);