Merge rust-bitcoin/rust-bitcoin#6919: Sanitize serde size hints before allocating
This commit fixes a denial-of-service weakness in how the library deserializes lists of Bitcoin data (witnesses, amounts, fee rates) from untrusted input. Before the fix, a few bytes of attacker-controlled data could claim a list would con…
55ddbc0cby Andrew Poelstra+88−105 files