rust-lightning/lightning
Matt Corallo 2826af75a5 Reject channels if the total reserves are larger than the funding
The `full_stack_target` fuzzer managed to find a subtraction
underflow in the new `Channel::get_htlc_maximum` function where we
subtract both sides' reserve values from the channel funding. Such
a channel is obviously completely useless, so we should reject it
during opening instead of integer-underflowing later.

Thanks to Chaincode Labs for providing the fuzzing resources which
found this bug!
2022-04-28 19:46:13 +00:00
..
src Reject channels if the total reserves are larger than the funding 2022-04-28 19:46:13 +00:00
Cargo.toml Bump crate versions to 0.0.106/invoice 0.14 2022-04-03 08:05:08 -05:00