Skip to content

p2p/discover: copy buffer before sending read errors to unhandled#34888

Merged
fjl merged 3 commits into
ethereum:masterfrom
cuiweixie:p2p/discover-v4-udp-copy-unhandled-packet
May 7, 2026
Merged

p2p/discover: copy buffer before sending read errors to unhandled#34888
fjl merged 3 commits into
ethereum:masterfrom
cuiweixie:p2p/discover-v4-udp-copy-unhandled-packet

Conversation

@cuiweixie
Copy link
Copy Markdown
Contributor

@cuiweixie cuiweixie commented May 6, 2026

This fixes an issue where packets send to the Unhandled channel configured on discv4 could be corrupted when the packet buffer gets reused.

@cuiweixie cuiweixie requested review from fjl and zsfelfoldi as code owners May 6, 2026 13:36
fjl
fjl previously approved these changes May 7, 2026
@fjl fjl added this to the 1.17.3 milestone May 7, 2026
@fjl fjl merged commit e1e3eaa into ethereum:master May 7, 2026
9 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