solana/streamer
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
..
src limits read access into Packet data to Packet.meta.size (#25484) 2022-05-25 16:52:54 +00:00
tests Give some tolerance to recv_mmsg test (#25299) 2022-05-19 18:54:39 +02:00
Cargo.toml chore: bump libc from 0.2.125 to 0.2.126 (#25332) 2022-05-19 13:58:12 -06:00