Skip to content

Conversation

@bagder
Copy link
Member

@bagder bagder commented Nov 11, 2025

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.

Reported-by: Stanislav Fort (Aisle Research)

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.

Reported-by: Stanislav Fort (Aisle Research)
@github-actions github-actions bot added the tests label Nov 11, 2025
@testclutch

This comment was marked as resolved.

@bagder bagder marked this pull request as ready for review November 11, 2025 12:50
@bagder bagder closed this in c545e10 Nov 11, 2025
@bagder bagder deleted the bagder/sftp-range branch November 11, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants