diff options
author | Jonas Jonsson <jonas@websystem.se> | 2011-08-28 23:00:06 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-08-29 10:07:22 +0200 |
commit | 661722753b83d0d8eff08a1572a3468b6d30183e (patch) | |
tree | 9bc962b06e9351e280decadb6cacca819a19c9d8 /src/buffer.c | |
parent | ac445a1e189f2bb5730dec6f6b7205a53defd224 (diff) | |
download | libssh-661722753b83d0d8eff08a1572a3468b6d30183e.tar.gz libssh-661722753b83d0d8eff08a1572a3468b6d30183e.tar.xz libssh-661722753b83d0d8eff08a1572a3468b6d30183e.zip |
sftp: Handle short reads of sftp_async_read().
sftp_async_read() and sftp_async_read_begin() assume that the whole read
will be successful but when this is not the case, the offset will be
wrong.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit d1df255df46b0b59ce5abfa1b2a4b971ebb4fb64)
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions