Skip to content

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

Merged
AskAlexSharov merged 1 commit into
erigontech:mainfrom
Sahil-4555:p2p/discover-v4-udp-copy-unhandled-packet
May 8, 2026
Merged

p2p/discover: copy buffer before sending read errors to unhandled#21041
AskAlexSharov merged 1 commit into
erigontech:mainfrom
Sahil-4555:p2p/discover-v4-udp-copy-unhandled-packet

Conversation

@Sahil-4555

Copy link
Copy Markdown
Contributor

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

@AskAlexSharov AskAlexSharov added this pull request to the merge queue May 8, 2026
Merged via the queue into erigontech:main with commit 9e97234 May 8, 2026
34 of 35 checks passed
@Sahil-4555 Sahil-4555 deleted the p2p/discover-v4-udp-copy-unhandled-packet branch May 8, 2026 03:17
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