summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sftp-client.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0d51580fd..f4fb5f05f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,11 @@
11 more timing paranoia - compare all parts of the expected decrypted 11 more timing paranoia - compare all parts of the expected decrypted
12 data before returning. AFAIK not exploitable in the SSH protocol. 12 data before returning. AFAIK not exploitable in the SSH protocol.
13 "groovy" deraadt@ 13 "groovy" deraadt@
14 - djm@cvs.openbsd.org 2010/07/19 03:16:33
15 [sftp-client.c]
16 bz#1797: fix swapped args in upload_dir_internal(), breaking recursive
17 upload depth checks and causing verbose printing of transfers to always
18 be turned on; patch from imorgan AT nas.nasa.gov
14 19
1520100819 2020100819
16 - (dtucker) [contrib/ssh-copy-ud.1] Bug #1786: update ssh-copy-id.1 with more 21 - (dtucker) [contrib/ssh-copy-ud.1] Bug #1786: update ssh-copy-id.1 with more
diff --git a/sftp-client.c b/sftp-client.c
index 408b29840..9dab47780 100644
--- a/sftp-client.c
+++ b/sftp-client.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp-client.c,v 1.91 2010/06/18 04:43:08 djm Exp $ */ 1/* $OpenBSD: sftp-client.c,v 1.92 2010/07/19 03:16:33 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 *
@@ -1523,7 +1523,7 @@ upload_dir_internal(struct sftp_conn *conn, char *src, char *dst,
1523 continue; 1523 continue;
1524 1524
1525 if (upload_dir_internal(conn, new_src, new_dst, 1525 if (upload_dir_internal(conn, new_src, new_dst,
1526 pflag, depth + 1, printflag) == -1) 1526 pflag, printflag, depth + 1) == -1)
1527 ret = -1; 1527 ret = -1;
1528 } else if (S_ISREG(sb.st_mode)) { 1528 } else if (S_ISREG(sb.st_mode)) {
1529 if (do_upload(conn, new_src, new_dst, pflag) == -1) { 1529 if (do_upload(conn, new_src, new_dst, pflag) == -1) {