Merge rust-bitcoin/rust-bitcoin#6946: Fix integer overflow in `get_array`
This commit fixes a small but real bug in a Rust helper that reads fixed-size chunks from a data slice. The helper was supposed to safely return 'nothing' when asked to read past the end of the data, but it accidentally added two numbers t…
c6e80843by Andrew Poelstra+2−11 file