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

bugfix: guard access to mNoOutboundCapacity #4458

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

marta-lokhova
Copy link
Contributor

Fix issue discovered by static analysis (data race on mNoOutboundCapacity). This variable is used to trigger recovery in case flow control gets stuck. In practice, this triggers very rarely (if at all), which is probably why we did not catch this before.

SirTyson
SirTyson previously approved these changes Sep 5, 2024
Copy link
Contributor

@SirTyson SirTyson left a comment

Choose a reason for hiding this comment

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

LGTM, one nitpick.

src/overlay/FlowControl.h Outdated Show resolved Hide resolved
@SirTyson SirTyson added this pull request to the merge queue Sep 6, 2024
Merged via the queue into stellar:master with commit e02d75a Sep 6, 2024
14 checks passed
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