Zebra/zebra-chain
teor 8e18c99cdc Avoid risky use of Read::take with untrusted lengths
Zebra already uses `Read::take` to enforce message, body, and block
maximum sizes.

So using `Read::take` on untrusted sizes can result in short reads,
without a corresponding `UnexpectedEof` error. (The old code was
correct, but copying it elsewhere would have been risky.)
2021-03-22 11:54:31 -04:00
..
proptest-regressions Implement Expanded to Compact Difficulty Conversion (#1196) 2020-10-30 11:36:59 +10:00
src Avoid risky use of Read::take with untrusted lengths 2021-03-22 11:54:31 -04:00
Cargo.toml build(deps): bump displaydoc from 0.1.7 to 0.2.0 2021-03-17 15:50:40 -04:00