diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | sftp.c | 4 |
2 files changed, 11 insertions, 2 deletions
@@ -1,3 +1,10 @@ | |||
1 | 20071229 | ||
2 | - (dtucker) OpenBSD CVS Sync | ||
3 | - djm@cvs.openbsd.org 2007/12/12 05:04:03 | ||
4 | [sftp.c] | ||
5 | unbreak lls command and add a regress test that would have caught the | ||
6 | breakage; spotted by mouring@ | ||
7 | |||
1 | 20071202 | 8 | 20071202 |
2 | - (dtucker) [configure.ac] Enable -fstack-protector-all on systems where | 9 | - (dtucker) [configure.ac] Enable -fstack-protector-all on systems where |
3 | gcc supports it. ok djm@ | 10 | gcc supports it. ok djm@ |
@@ -3458,4 +3465,4 @@ | |||
3458 | OpenServer 6 and add osr5bigcrypt support so when someone migrates | 3465 | OpenServer 6 and add osr5bigcrypt support so when someone migrates |
3459 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ | 3466 | passwords between UnixWare and OpenServer they will still work. OK dtucker@ |
3460 | 3467 | ||
3461 | $Id: ChangeLog,v 1.4806 2007/12/02 12:22:52 dtucker Exp $ | 3468 | $Id: ChangeLog,v 1.4807 2007/12/28 15:40:43 dtucker Exp $ |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp.c,v 1.97 2007/10/24 03:30:02 djm Exp $ */ | 1 | /* $OpenBSD: sftp.c,v 1.98 2007/12/12 05:04:03 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> | 3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> |
4 | * | 4 | * |
@@ -1080,6 +1080,8 @@ parse_args(const char **cpp, int *pflag, int *lflag, int *iflag, | |||
1080 | *path1 = xstrdup(argv[optidx]); | 1080 | *path1 = xstrdup(argv[optidx]); |
1081 | break; | 1081 | break; |
1082 | case I_LLS: | 1082 | case I_LLS: |
1083 | /* Skip ls command and following whitespace */ | ||
1084 | cp = cp + strlen(cmd) + strspn(cp, WHITESPACE); | ||
1083 | case I_SHELL: | 1085 | case I_SHELL: |
1084 | /* Uses the rest of the line */ | 1086 | /* Uses the rest of the line */ |
1085 | break; | 1087 | break; |