Skip to content

Conversation

@keefel
Copy link
Contributor

@keefel keefel commented Jun 22, 2022

Description

Define DiscReason as uint8, cherry-pick from ethereum/go-ethereum#24507, and fix CVE-2022-29177.

Rationale

All other implementations store disconnect reasons as a single byte, so bsc should do it too.

Example

NA

Changes

Notable changes:

All other implementations store disconnect reasons as a single byte,
so go-ethereum should do it too.
@keefel keefel changed the title p2p: define DiscReason as uint8 [R4R] p2p: define DiscReason as uint8 Jun 23, 2022
@unclezoro unclezoro merged commit 6ec6eda into bnb-chain:develop Jun 23, 2022
This was referenced Jul 28, 2022
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.

6 participants