mirror of
https://github.com/curl/curl.git
synced 2026-04-14 00:51:42 +08:00
When asking for the last N bytes of a file, and that size was larger than the file size, it would miss the first byte due to a logic error. The fixed range parser is now made a common function in the file now renamed to vssh.c (from curl_path.c) - used by both backends. Unit test 2605 verifies the parser. Reported-by: Stanislav Fort (Aisle Research) Closes #19460
21 lines
188 B
Plaintext
21 lines
188 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
unittest
|
|
sftp
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<features>
|
|
unittest
|
|
sftp
|
|
</features>
|
|
<name>
|
|
Curl_ssh_range unit test
|
|
</name>
|
|
</client>
|
|
</testcase>
|