lighthouse/eth2
Paul Hauner b374ead24b
Protect against OOB offset in variable list SSZ decoding (#974)
* Add "pretty-ssz" tool to lcli

* Protect against OOB SSZ offset

* Add more work on decoding

* Fix benches

* Add more decode fixes

* Rename fixed_ptr

* Add, fix tests

* Add extra test

* Increase SSZ decode error granularity

* Ripples new error types across ssz crate

* Add comment to `sanitize_offset`

* Introduce max_len to SSZ list decoding

* Restrict FixedVector, check for zero-len items

* Double check for empty list

* Address Michael's comment
2020-04-20 15:35:47 +10:00
..
operation_pool Check attestation shuffling when producing blocks (#900) 2020-04-20 12:34:37 +10:00
proto_array_fork_choice Check attestation shuffling when producing blocks (#900) 2020-04-20 12:34:37 +10:00
state_processing Use checked arithmetic in types and state proc (#1009) 2020-04-20 12:35:11 +10:00
types Use checked arithmetic in types and state proc (#1009) 2020-04-20 12:35:11 +10:00
utils Protect against OOB offset in variable list SSZ decoding (#974) 2020-04-20 15:35:47 +10:00
README.md Refactor docs into mdbook (#547) 2019-10-02 11:04:56 +10:00

eth2

Common crates containing eth2-specific logic.