rust-lightning/lightning
Matt Corallo b54fe5fcc7 Avoid overflow in addition when checking counterparty feerates
This is harmless outside of debug builds - the feerate will
overflow causing it to either spuriously fail the first check, or
correctly pass it and fail the second check. In debug builds,
however, it panics due to integer overflow.

Found by the `full_stack_target` fuzz test in the
Chaincode-provided continuous fuzzing. Thanks Chaincode!
2022-01-26 00:10:19 +00:00
..
src Avoid overflow in addition when checking counterparty feerates 2022-01-26 00:10:19 +00:00
Cargo.toml Update hex requirement from 0.3 to 0.4 2022-01-18 22:05:49 +00:00