This PR adds missing test coverage for the getblocktxn message handler, in the case that any of the contained indices is out-of-bounds:
https://github.com/bitcoin/bitcoin/blob/a05876619a3307daefec0946de8e3cbbe5b0157f/src/net_processing.cpp#L2180-L2183
test: check for `getblocktxn` request with out-of-bounds tx index #25370
pull theStack wants to merge 1 commits into bitcoin:master from theStack:202206-test-check_getblocktxn_out_of_bounds_tx_index changing 1 files +9 −0-
theStack commented at 4:16 PM on June 14, 2022: member
-
test: check for `getblocktxn` request with out-of-bounds tx index 5a8c321444
- fanquake added the label Tests on Jun 14, 2022
- dunxen approved
-
dunxen commented at 8:36 PM on June 14, 2022: contributor
ACK 5a8c321
- MarcoFalke merged this on Jun 15, 2022
- MarcoFalke closed this on Jun 15, 2022
- theStack deleted the branch on Jun 15, 2022
- sidhujag referenced this in commit 4af598bfdb on Jun 15, 2022
- DrahtBot locked this on Jun 15, 2023