Skip to content

Conversation

@bagder
Copy link
Member

@bagder bagder commented Oct 9, 2025

The libssh API uses a 32 bit type for datestamp, so instead of just force-typecast it, make sure it gets capped at UINT_MAX if the value is larger.

Reported-by: Joshua Rogers

The libssh API uses a 32 bit type for datestamp, so instead of just
force-typecast it, make sure it gets capped at UINT_MAX if the value is
larger.

Reported-by: Joshua Rogers
@bagder bagder added the SCP/SFTP label Oct 9, 2025
@bagder bagder marked this pull request as ready for review October 10, 2025 06:25
@bagder bagder closed this in c049c37 Oct 10, 2025
@bagder bagder deleted the bagder/libssh-date branch October 10, 2025 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant