lighthouse/eth2/utils/ssz/src
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
..
decode Protect against OOB offset in variable list SSZ decoding (#974) 2020-04-20 15:35:47 +10:00
encode Refactor tree hashing (#861) 2020-03-05 08:07:27 +11:00
decode.rs Protect against OOB offset in variable list SSZ decoding (#974) 2020-04-20 15:35:47 +10:00
encode.rs Add optimized SSZ decoding for fixed-len items (#865) 2020-03-04 11:45:01 +11:00
lib.rs Update to spec v0.11 (#959) 2020-04-01 22:03:03 +11:00
macros.rs Add ssz_fixed_len method to ssz::Encode 2019-09-08 12:23:37 -04:00