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

ref: Use crypto/rand.Read, not crypto/rand.Reader #301

Merged
merged 1 commit into from
Dec 1, 2020

Conversation

rhcarvalho
Copy link
Contributor

This is to make use of a (future) protection against rogue code that
changes the value of rand.Reader.

The distinction may only be relevant in Go 1.17 onwards, while Go 1.16
is not released yet. The change has a chance of being backported to
1.16.x, though.

This is to make use of a (future) protection against rogue code that
changes the value of rand.Reader.

The distinction may only be relevant in Go 1.17 onwards, while Go 1.16
is not released yet. The change has a chance of being backported to
1.16.x, though.
@rhcarvalho rhcarvalho merged commit 9654ec0 into getsentry:master Dec 1, 2020
@rhcarvalho rhcarvalho deleted the rand branch December 1, 2020 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants