Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unsoundness in <BlockRng64 as RngCore>::next_u32, with less unsafe code #1160

Merged
merged 22 commits into from
Sep 12, 2021

Commits on Aug 19, 2021

  1. Fix unsoundness in <BlockRng64 as RngCore>::next_u32

    Many thanks to @joshlf for reporting this issue.
    
    Fixes rust-random#1158.
    vks committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    9b9a89f View commit details
    Browse the repository at this point in the history
  2. rand_core: Update changelog

    vks committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    e85a875 View commit details
    Browse the repository at this point in the history
  3. rand: Update changelog

    vks committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    536e18b View commit details
    Browse the repository at this point in the history
  4. Bump versions

    vks committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    db6e81f View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2021

  1. Simplify cfg logic

    vks committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    e73fe3a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b86ec29 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1a3c2a9 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2021

  1. Fix BlockRng::next_* logic

    vks committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    d5dbf47 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2021

  1. Fix test

    vks committed Aug 26, 2021
    Configuration menu
    Copy the full SHA
    693d3c1 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2021

  1. Configuration menu
    Copy the full SHA
    251bda1 View commit details
    Browse the repository at this point in the history
  2. Fix BlockRng::next_u32

    vks committed Sep 5, 2021
    Configuration menu
    Copy the full SHA
    d8fd7ba View commit details
    Browse the repository at this point in the history
  3. Add license header

    vks committed Sep 5, 2021
    Configuration menu
    Copy the full SHA
    0f0d66f View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2021

  1. Simplify dummy RNG for BlockRng test

    We no longer implement the non-block step RNG.
    vks committed Sep 7, 2021
    Configuration menu
    Copy the full SHA
    0c5a5f9 View commit details
    Browse the repository at this point in the history
  2. Try to fix test on MIPS

    vks committed Sep 7, 2021
    Configuration menu
    Copy the full SHA
    4e99eee View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2021

  1. Fix a clippy warning

    vks committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    698ebe0 View commit details
    Browse the repository at this point in the history
  2. rand: Update changelog

    vks committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    b7380fd View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2021

  1. Configuration menu
    Copy the full SHA
    da3b367 View commit details
    Browse the repository at this point in the history
  2. Fix reference in docs

    vks committed Sep 11, 2021
    Configuration menu
    Copy the full SHA
    7533de0 View commit details
    Browse the repository at this point in the history
  3. Use slightly more random DummyRng

    vks committed Sep 11, 2021
    Configuration menu
    Copy the full SHA
    4addc75 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2021

  1. Use odd increments

    vks committed Sep 12, 2021
    Configuration menu
    Copy the full SHA
    8006bc3 View commit details
    Browse the repository at this point in the history
  2. Improve BlockRng64 test

    vks committed Sep 12, 2021
    Configuration menu
    Copy the full SHA
    64ac013 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    90b89cd View commit details
    Browse the repository at this point in the history