Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent integer overflow in ReadVarInt.
We don't normally use ReadVarInt from untrusted inputs, but we might see this in the case of corruption. This is exposed in test_bitcoin_fuzzy. Cherry-picked from: 45f0961
- Loading branch information