Skip to content

Random: Xoshiro256StarStar does not reject the invalid all-zero state #9249

Closed

Description

@zeriyoshi

Description

It works as intended, but as a PRNG it is a dangerous behavior and should make the seed fail.

https://externals.io/message/118343

Reporting from Anton Smirnov, Thank you!

PHP Version

PHP-master

Operating System

All

Activity

  1. zeriyoshi commented on Aug 5, 2022

    @zeriyoshi
    ContributorAuthor

    #9250
    Works fast!

  2. changed the title [-]Random: Xoshiro256StarStar outputs always zero[/-] [+]Random: Xoshiro256StarStar does not reject the invalid all-zero state[/+] on Aug 5, 2022
  3. added a commit that references this issue on Aug 5, 2022
    26de776
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions