Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libssh: fix scp large file upload for 32-bit size_t systems #16641

Closed
wants to merge 1 commit into from

Conversation

jay
Copy link
Member

@jay jay commented Mar 10, 2025

  • Use ssh_scp_push_file64 instead of ssh_scp_push_file.

The former uses uint64_t for file size and the latter uses size_t which may be 32-bit.

Ref: #16194

Closes #xxxx

- Use ssh_scp_push_file64 instead of ssh_scp_push_file.

The former uses uint64_t for file size and the latter uses size_t which
may be 32-bit.

Ref: curl#16194

Closes #xxxx
@vszakats
Copy link
Member

Nice, thanks for catching this!

@testclutch
Copy link

Analysis of PR #16641 at c3351dc9:

Test 313 failed, which has NOT been flaky recently, so there could be a real issue in this PR.

Generated by Testclutch

@jay jay closed this in 9b52377 Mar 10, 2025
@jay jay deleted the libssh_scp_64bit_upload branch March 10, 2025 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SCP/SFTP Windows Windows-specific
Development

Successfully merging this pull request may close these issues.

3 participants