lighthouse/beacon_node/eth2_libp2p
Pawan Dhananjay 99a02fd2ab Limit snappy input stream (#1738)
## Issue Addressed

N/A

## Proposed Changes

This PR limits the length of the stream received by the snappy decoder to be the maximum allowed size for the received rpc message type. Also adds further checks to ensure that the length specified in the rpc [encoding-dependent header](https://github.com/ethereum/eth2.0-specs/blob/dev/specs/phase0/p2p-interface.md#encoding-strategies) is within the bounds for the rpc message type being decoded.
2020-10-11 22:45:33 +00:00
..
src Limit snappy input stream (#1738) 2020-10-11 22:45:33 +00:00
tests Upgrade discovery and restructure task execution (#1693) 2020-10-05 18:45:54 +11:00
Cargo.toml Remove unused deps 2020-10-09 15:58:20 +11:00