Skip to content

Fix empty-address panic in known_peers()#3715

Merged
jsdanielh merged 1 commit intoalbatrossfrom
ii-cruz/addr-book
Apr 22, 2026
Merged

Fix empty-address panic in known_peers()#3715
jsdanielh merged 1 commit intoalbatrossfrom
ii-cruz/addr-book

Conversation

@jsdanielh
Copy link
Copy Markdown
Member

Skip peers with empty addresses in known_peers() instead of panicking, preventing a DoS via poisoned peer contacts with no advertised addresses.

Pull request checklist

  • All tests pass. The project builds and runs.
  • I have resolved any merge conflicts.
  • I have resolved all clippy and rustfmt warnings.

Skip peers with empty addresses in known_peers() instead of panicking,
preventing a DoS via poisoned peer contacts with no advertised addresses.
@jsdanielh jsdanielh merged commit 57836cb into albatross Apr 22, 2026
7 checks passed
@jsdanielh jsdanielh deleted the ii-cruz/addr-book branch April 22, 2026 00:38
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