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
  1. theStack commented at 4:16 PM on June 14, 2022: member

    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

  2. test: check for `getblocktxn` request with out-of-bounds tx index 5a8c321444
  3. fanquake added the label Tests on Jun 14, 2022
  4. dunxen approved
  5. dunxen commented at 8:36 PM on June 14, 2022: contributor

    ACK 5a8c321

  6. MarcoFalke merged this on Jun 15, 2022
  7. MarcoFalke closed this on Jun 15, 2022

  8. theStack deleted the branch on Jun 15, 2022
  9. sidhujag referenced this in commit 4af598bfdb on Jun 15, 2022
  10. DrahtBot locked this on Jun 15, 2023
Contributors
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 21:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me