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

Fix conflicting user id in user networking server #130

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

MarcusLongmuir
Copy link
Contributor

Fixes a race condition where if a user allocate and id does not authenticate soon enough then the id given to them can also be given to another connecting client.

The fix is to use a map containing the ids to limit which ids can be given out.

What kind of change does your PR introduce? (check at least one)

  • Bugfix

TheCodeTherapy
TheCodeTherapy previously approved these changes Apr 30, 2024
@TheCodeTherapy TheCodeTherapy merged commit b569a23 into main Apr 30, 2024
5 checks passed
@TheCodeTherapy TheCodeTherapy deleted the bugfix/conflicting-ids branch April 30, 2024 20:00
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