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

BUG: Insufficient locking in cmd/ssh3-server #80

Closed
Yawning opened this issue Dec 25, 2023 · 1 comment
Closed

BUG: Insufficient locking in cmd/ssh3-server #80

Yawning opened this issue Dec 25, 2023 · 1 comment

Comments

@Yawning
Copy link

Yawning commented Dec 25, 2023

Server.conversationHandler is called from the HTTP3 server's handler in a per-connection go routine.

The handler in cmd/ssh3-server, mutates global state.

Golang maps require synchronization for concurrent writes and/or concurrent reads + writes. The server appears to do both.

@francoismichel
Copy link
Owner

Thanks for the feedback ! I'll have a serious look at it after holidays. :-)

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

No branches or pull requests

2 participants