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 mutex map clients crash #101

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Conversation

zjg555543
Copy link
Contributor

Closes #100.

What does this PR do?

The map in the client needs to be locked. While it is locked during waitConnections, there is no lock during broadcastAtomicOp, which could potentially lead to a crash.

Reviewers

Main reviewers:

  • @-John
  • @-Doe

Codeowner reviewers:

  • @-Alice
  • @-Bob

@zjg555543 zjg555543 requested a review from dpunish3r as a code owner December 29, 2023 06:37
@cla-bot cla-bot bot added the cla-signed label Dec 29, 2023
Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

1 New issue
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@dpunish3r dpunish3r merged commit 37ff0cf into 0xPolygon:main Jan 3, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lock map clients
2 participants