Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin#30444: rest: Reject negative outpoint index early in ge…
…tutxos parsing fac932b refactor: Use util::Split to avoid a harmless unsigned-integer-overflow (MarcoFalke) fab54db rest: Reject negative outpoint index in getutxos parsing (MarcoFalke) Pull request description: In `rest_getutxos` outpoint indexes such as `+N` or `-N` are accepted. This should be harmless, because any index out of range should be treated as a non-existent utxo. However, a negative index can't exist ever, so it seems better to reject all signs, whether `+` or `-`. ACKs for top commit: achow101: ACK fac932b hodlinator: ut-ACK fac932b tdb3: re ACK fac932b danielabrozzoni: ACK fac932b brunoerg: reACK fac932b Tree-SHA512: 8f1a75248cb61e1c4beceded6ed170db83b07f30fbcf93a26acfffc00ec4546572366eff87907a7e1423d7d3a2a9e57a0a7a9bacb787c86463f842d7161c16bc
- Loading branch information