fuzz: Avoid timeout in bitdeque #29012

pull maflcko wants to merge 1 commits into bitcoin:master from maflcko:2312-fuzz-time-bitd- changing 1 files +16 −16
  1. maflcko commented at 2:51 PM on December 6, 2023: member

    Avoid timeouts such as #28812 (comment)

    This is done by:

    • Limiting the maximum number of iterations if the maximum size of the container is "large" (see the magic numbers in the code).
    • Check the equality only once. This should be fine, because if a crash were to happen in the equality check, but the crash doesn't happen if further iterations were run, the fuzz engine should eventually find the crash by truncating the fuzz input.
  2. fuzz: Avoid timeout in bitdeque fad1903b8a
  3. DrahtBot commented at 2:51 PM on December 6, 2023: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage

    For detailed information about the code coverage, see the test coverage report.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK sipa, dergoegge, brunoerg

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

  4. DrahtBot added the label Tests on Dec 6, 2023
  5. sipa commented at 3:13 PM on December 6, 2023: member

    utACK fad1903b8a85506378101c1f857ba47b4a058fb4

  6. dergoegge approved
  7. dergoegge commented at 4:15 PM on December 6, 2023: member

    utACK fad1903b8a85506378101c1f857ba47b4a058fb4

  8. brunoerg approved
  9. brunoerg commented at 4:32 PM on December 6, 2023: contributor

    crACK fad1903b8a85506378101c1f857ba47b4a058fb4

  10. fanquake merged this on Dec 6, 2023
  11. fanquake closed this on Dec 6, 2023

  12. maflcko deleted the branch on Dec 6, 2023
  13. bitcoin locked this on Dec 5, 2024

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-24 06:14 UTC

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