solana-with-rpc-optimizations/core
behzad nouri 880684565c
limits read access into Packet data to Packet.meta.size (#25484)
Bytes past Packet.meta.size are not valid to read from.

The commit makes the buffer field private and instead provides two
methods:
* Packet::data() which returns an immutable reference to the underlying
  buffer up to Packet.meta.size. The rest of the buffer is not valid to
  read from.
* Packet::buffer_mut() which returns a mutable reference to the entirety
  of the underlying buffer to write into. The caller is responsible to
  update Packet.meta.size after writing to the buffer.
2022-05-25 16:52:54 +00:00
..
benches Refactor Sigverify trait (#25359) 2022-05-24 16:01:41 -05:00
src limits read access into Packet data to Packet.meta.size (#25484) 2022-05-25 16:52:54 +00:00
tests Add options to store full and/or incremental snapshots in separate locations (#24247) 2022-05-10 16:37:41 -04:00
.gitignore
Cargo.toml Remove retain_mut dep (#25494) 2022-05-23 21:45:49 +00:00
build.rs Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00