solana-with-rpc-optimizations/perf
behzad nouri 5dbf7d8f91
removes raw indexing into packet data (#25554)
Packets are at the boundary of the system where, vast majority of the
time, they are received from an untrusted source. Raw indexing into the
data buffer can open attack vectors if the offsets are invalid.
Validating offsets beforehand is verbose and error prone.

The commit updates Packet::data() api to take a SliceIndex and always to
return an Option. The call-sites are so forced to explicitly handle the
case where the offsets are invalid.
2022-06-03 01:05:06 +00:00
..
benches Opt: optimize dedup hash filter reset (#25555) 2022-05-26 14:06:53 +00:00
src removes raw indexing into packet data (#25554) 2022-06-03 01:05:06 +00:00
Cargo.toml sigverify: add discard before dedup (#25388) 2022-05-23 03:40:33 +02:00
build.rs Rework AVX/AVX2 detection again 2021-10-10 12:22:10 -07:00