mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-13 11:35:20 +01:00
fuzz: actually test garbage >64b in p2p transport test
This commit is contained in:
parent
015ac13dcc
commit
626f8e398e
1 changed files with 1 additions and 0 deletions
|
@ -354,6 +354,7 @@ std::unique_ptr<Transport> MakeV2Transport(NodeId nodeid, bool initiator, RNG& r
|
|||
} else {
|
||||
// If it's longer, generate it from the RNG. This avoids having large amounts of
|
||||
// (hopefully) irrelevant data needing to be stored in the fuzzer data.
|
||||
garb.resize(garb_len);
|
||||
for (auto& v : garb) v = uint8_t(rng());
|
||||
}
|
||||
// Retrieve entropy
|
||||
|
|
Loading…
Add table
Reference in a new issue