Skip to content

Conversation

@nicolas-grekas
Copy link
Member

Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

Reported by @bobthecow on Twitter: using mt_rand() breaks inspecting seeded calls to mt_rand().

Should be replaced by a call to md5(random_bytes(6)) on 4.4.

@fabpot
Copy link
Member

fabpot commented Mar 18, 2020

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 5f364af into symfony:3.4 Mar 18, 2020
@bobthecow
Copy link
Contributor

Thanks for the quick fix, @nicolas-grekas!

@fabpot fabpot mentioned this pull request Mar 27, 2020
@nicolas-grekas nicolas-grekas deleted the vd-mt_rand branch March 27, 2020 09:02
This was referenced Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants