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

libssh2_sftp_stat_ex() uses "long" for times #735

Open
bagder opened this issue Aug 16, 2022 · 0 comments · May be fixed by #1220
Open

libssh2_sftp_stat_ex() uses "long" for times #735

bagder opened this issue Aug 16, 2022 · 0 comments · May be fixed by #1220
Labels

Comments

@bagder
Copy link
Member

bagder commented Aug 16, 2022

Describe the bug

The LIBSSH2_SFTP_ATTRIBUTES struct has several fields using unsigned long to transfer timestamps. This makes them limited to 32 bits on Windows and 32 bit machines.

The spec defines them as 64 bit fields

@vszakats vszakats added the bug label Mar 19, 2023
doorsdown added a commit to doorsdown/libssh2 that referenced this issue Nov 15, 2023
…TP_ATTRIBUTES struct were limited to 32 bits on non 64 bit machines
@doorsdown doorsdown linked a pull request Nov 15, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants