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

[v15] Prevent racy access to session parties #47935

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

rosstimothy
Copy link
Contributor

Backport #47816 to branch/v15

Prefer using session.getParties instead of using session.parties
directly to prevent races when new parties are added. Any functions
that are using session.parties AND are called from another function
that already obtains the lock have been renamed to reflect that
they must only be called if the session lock is held.
@rosstimothy rosstimothy added the no-changelog Indicates that a PR does not require a changelog entry label Oct 25, 2024
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-47935.d1v2yqnl3ruxch.amplifyapp.com

@rosstimothy rosstimothy marked this pull request as ready for review October 25, 2024 15:03
@rosstimothy rosstimothy enabled auto-merge October 25, 2024 15:03
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from strideynet October 25, 2024 17:20
@rosstimothy rosstimothy added this pull request to the merge queue Oct 25, 2024
Merged via the queue into branch/v15 with commit 5ceeae9 Oct 25, 2024
39 checks passed
@rosstimothy rosstimothy deleted the bot/backport-47816-branch/v15 branch October 25, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants