Skip to content

Bug in jenkins seed generation in bdz_ph #3

Description

@galibert

bdz_ph does bdz_ph->hl = hash_state_new(bdz_ph->hashfunc, 15); But 15 is not a power-of-two order, it's used directly to do a modulo. So the seed can only be 0..14. There's no real point to do 100 tries, which makes me suspect that value was very much not intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions