patch-sftp-client_c 425 B

1234567891011
  1. --- openssh-5.2p1.orig/sftp-client.c 2008-07-04 15:10:49.000000000 +0200
  2. +++ openssh-5.2p1/sftp-client.c 2009-09-18 12:30:56.000000000 +0200
  3. @@ -273,7 +273,7 @@ get_decode_statvfs(int fd, struct sftp_s
  4. SSH2_FXP_EXTENDED_REPLY, type);
  5. }
  6. - bzero(st, sizeof(*st));
  7. + memset(st, 0, sizeof(*st));
  8. st->f_bsize = buffer_get_int64(&msg);
  9. st->f_frsize = buffer_get_int64(&msg);
  10. st->f_blocks = buffer_get_int64(&msg);