Skip to content

Conversation

cloudsbit
Copy link
Contributor

In *Server.handle, if the *sshfx.ReadPacket's Length is less than maxDataLen, the client may get stuck during data reading.

In `*Server.handle`, if the sshfx.ReadPacket's Length is less than maxDataLen, the client may get stuck during data reading.
Copy link
Collaborator

@puellanivis puellanivis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call, but we can also be a little more robust, in case hint isn’t populated.

cloudsbit and others added 3 commits March 27, 2025 00:11
@puellanivis puellanivis merged commit 0e7685c into pkg:dev-v2 Mar 26, 2025
3 checks passed
@cloudsbit cloudsbit deleted the bugfix/server-handle branch March 27, 2025 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants