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

Race condition: use of "range + closure + goroutine" combination #40

Closed
btc opened this issue Sep 11, 2014 · 2 comments
Closed

Race condition: use of "range + closure + goroutine" combination #40

btc opened this issue Sep 11, 2014 · 2 comments
Labels
kind/bug A bug in existing code (including security flaws)

Comments

@btc btc added the kind/bug A bug in existing code (including security flaws) label Sep 11, 2014
@whyrusleeping
Copy link
Member

There is no bug here, the code in question is correct, and the variables are properly captured by the closure.

@btc
Copy link
Contributor Author

btc commented Sep 11, 2014

You're right.

@btc btc closed this as completed Sep 11, 2014
@ghost ghost mentioned this issue Sep 20, 2016
ribasushi pushed a commit that referenced this issue Jul 4, 2021
Also, regenerate with the latest gogo protobuf package.

fixes #40
longfeiWan9 pushed a commit to longfeiWan9/go-ipfs that referenced this issue Nov 18, 2021
@ajnavarro ajnavarro mentioned this issue Aug 24, 2022
72 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws)
Projects
None yet
Development

No branches or pull requests

2 participants