diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-09-26 09:43:33 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-09-26 09:43:33 +0200 |
commit | b90cc7f1ad47a02d811f45b1b6fa0c5fc5bf0edf (patch) | |
tree | 74a7f0dcea7f3c1c9e4d4edbfa8f52b2d2f38321 /package/openssh/patches/patch-sftp-client_c | |
parent | 418f934071ec5fc3afc1540df2c2ed27b676f306 (diff) | |
parent | bb813d480b00ed42f1e59b760b6433f4ad96bcde (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/openssh/patches/patch-sftp-client_c')
-rw-r--r-- | package/openssh/patches/patch-sftp-client_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/openssh/patches/patch-sftp-client_c b/package/openssh/patches/patch-sftp-client_c new file mode 100644 index 000000000..21363fee7 --- /dev/null +++ b/package/openssh/patches/patch-sftp-client_c @@ -0,0 +1,11 @@ +--- openssh-5.2p1.orig/sftp-client.c 2008-07-04 15:10:49.000000000 +0200 ++++ openssh-5.2p1/sftp-client.c 2009-09-18 12:30:56.000000000 +0200 +@@ -273,7 +273,7 @@ get_decode_statvfs(int fd, struct sftp_s + SSH2_FXP_EXTENDED_REPLY, type); + } + +- bzero(st, sizeof(*st)); ++ memset(st, 0, sizeof(*st)); + st->f_bsize = buffer_get_int64(&msg); + st->f_frsize = buffer_get_int64(&msg); + st->f_blocks = buffer_get_int64(&msg); |