mirror of https://github.com/bitcoin/bitcoin
Merge #19818: p2p: change `CInv::type` from `int` to `uint32_t`, fix UBSan warning
pull/19763/head7984c39be1
test framework: serialize/deserialize inv type as unsigned int (Jon Atack)407175e0c2
p2p: change CInv::type from int to uint32_t (Jon Atack) Pull request description: Fixes UBSan implicit-integer-sign-change issue per https://github.com/bitcoin/bitcoin/pull/19610#issuecomment-680686460. Credit to Crypt-iQ for finding and reporting the issue and to vasild for the original review suggestion in https://github.com/bitcoin/bitcoin/pull/19590#pullrequestreview-455788826. Closes #19678. ACKs for top commit: laanwj: ACK7984c39be1
MarcoFalke: ACK7984c39be1
🌻 vasild: ACK7984c39be
Tree-SHA512: 59f3a75f40ce066ca6f0bb1927197254238302b4073af1574bdbfe6ed580876437be804be4e47d51467d604f0d9e3a5875159f7f2edbb2351fdb2bb9465100b5
commit
bd60a9a8ed
Loading…
Reference in new issue