Skip to content

Conversation

josephlr
Copy link
Member

#291 inadvertantly removed this check

See #104 for why this was added in the first place. Also, per our docs:

If dest is empty, getrandom immediately returns success, making
no calls to the underlying operating system.

Signed-off-by: Joe Richey [email protected]

#291 inadvertantly removed
this check

See #104 for why this was
added in the first place. Also, per our docs:

> If `dest` is empty, `getrandom` immediately returns success, making
> no calls to the underlying operating system.

Signed-off-by: Joe Richey <[email protected]>
@josephlr josephlr requested a review from newpavlov October 21, 2022 08:11
@newpavlov newpavlov merged commit 55ad4c4 into master Oct 21, 2022
@newpavlov newpavlov deleted the empty branch October 21, 2022 14:02
briansmith added a commit to briansmith/getrandom that referenced this pull request Oct 21, 2022
Modify the custom tests so that they would have detected and prevented
the issue fixed in rust-random#298.
briansmith added a commit to briansmith/getrandom that referenced this pull request Oct 21, 2022
Modify the custom tests so that they would have detected and prevented
the issue fixed in rust-random#298.
briansmith added a commit to briansmith/getrandom that referenced this pull request Oct 21, 2022
Modify the custom tests so that they would have detected and prevented
the issue fixed in rust-random#298.
briansmith added a commit to briansmith/getrandom that referenced this pull request Oct 21, 2022
Modify the custom tests so that they would have detected and prevented
the issue fixed in rust-random#298.
briansmith added a commit to briansmith/getrandom that referenced this pull request Oct 21, 2022
Modify the custom tests so that they would have detected and prevented
the issue fixed in rust-random#298.
josephlr pushed a commit that referenced this pull request Oct 22, 2022
Modify the custom tests so that they would have detected and prevented
the issue fixed in #298.
josephlr pushed a commit to josephlr/getrandom that referenced this pull request Oct 22, 2022
Modify the custom tests so that they would have detected and prevented
the issue fixed in rust-random#298.
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