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 panic in observed address activation check #586

Merged
merged 1 commit into from
Apr 9, 2019
Merged

Conversation

vyzo
Copy link
Contributor

@vyzo vyzo commented Apr 9, 2019

The activated check cleans up, which leads to panics with concurrent reads.
This moves the seenBy set clean up into gc, where it belongs

@ghost ghost assigned vyzo Apr 9, 2019
@ghost ghost added the status/in-progress In progress label Apr 9, 2019
@vyzo vyzo requested a review from Stebalien April 9, 2019 18:52
The activated check cleans up, which leads to panics with concurrent reads.
This moves the seenBy set clean up into gc, where it belongs
@vyzo vyzo merged commit 202655c into master Apr 9, 2019
@ghost ghost removed the status/in-progress In progress label Apr 9, 2019
@vyzo vyzo deleted the fix/obsaddr-panic branch April 9, 2019 18:53
Stebalien added a commit to ipfs/kubo that referenced this pull request Apr 9, 2019
Fixes a panic in identify's observed address handling.

libp2p/go-libp2p#586

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
hannahhoward pushed a commit to filecoin-project/kubo-api-client that referenced this pull request Jun 19, 2023
Fixes a panic in identify's observed address handling.

libp2p/go-libp2p#586

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
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