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.) |
||
---|---|---|
.. | ||
proptest-regressions/protocol | ||
src | ||
Cargo.toml |