fuzz: Abort when global PRNG is used before SeedRand::ZEROS #31548

pull maflcko wants to merge 1 commits into bitcoin:master from maflcko:2412-fuzz-abort-g-rng changing 3 files +9 −5
  1. maflcko commented at 3:30 pm on December 20, 2024: member

    This adds one more check to abort when global PRNG is used before SeedRand::ZEROS in fuzz tests. This is achieved by carving out the two remaining uses. First, g_rng_temp_path_init, and second the random fallback for RANDOM_CTX_SEED, which isn’t used in fuzz tests anyway.

    Requested in #31521 (comment)

    Can be tested by reverting fadd568931a2d21e0f80e1efaf2281f5164fa20e and observing an abort when running the utxo_total_supply fuzz target.

  2. fuzz: Abort when global PRNG is used before SeedRand::ZEROS fa7267022e
  3. DrahtBot commented at 3:30 pm on December 20, 2024: contributor

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

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/31548.

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

  4. DrahtBot added the label Tests on Dec 20, 2024


maflcko DrahtBot

Labels
Tests


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: 2024-12-21 12:12 UTC

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