aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test567
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-10-12 00:01:40 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-10-12 00:01:40 +0200
commit51b8d30dc4ab4c08e81c1285311a0a3e34bef797 (patch)
tree9a1c06ce2425ed97901eee162d8cd571e1e707e4 /tests/data/test567
parent450c994a49c75bc564021c878d6baa7e7b2128c3 (diff)
SFTP: more ignoring negative file sizes
As the change in 5f0ae7a0626cbe709 added a precaution against negative file sizes that for some reason managed to get returned, this change now introduces the same check at the second place in the code where the file size from the libssh2 stat call is used. This check might not be suitable for a 32 bit curl_off_t, but libssh2.h assumes long long to work and to be 64 bit so I believe such a small curl_off_t will be very unlikely to occur in the wild.
Diffstat (limited to 'tests/data/test567')
0 files changed, 0 insertions, 0 deletions