solana/ledger
behzad nouri 9587c8537f
limits pre-allocation size when deserializing shreds (#24921)
Though current Shred struct is not vulnerable to this, adding with_limit
causes pre-allocation size to be limited to prevent against memory
exhaustion attacks:
https://github.com/bincode-org/bincode/blob/2d3f42034/readme.md
2022-05-03 12:13:45 +00:00
..
benches enforces that LAST_SHRED_IN_SLOT is also DATA_COMPLETE_SHRED (#24892) 2022-05-02 23:33:53 +00:00
src limits pre-allocation size when deserializing shreds (#24921) 2022-05-03 12:13:45 +00:00
tests hides implementation details of shred from its public interface (#24563) 2022-04-25 12:43:22 +00:00
.gitignore
Cargo.toml chore: bump serde_bytes from 0.11.5 to 0.11.6 (#24882) 2022-05-02 14:33:01 -06:00
build.rs adds crds-value for broadcasting duplicate shreds through gossip (#14133) 2020-12-18 14:32:43 +00:00