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

Use the correct bitmask to restrict result to 3 significant bytes #316

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

jamis
Copy link
Contributor

@jamis jamis commented Jul 19, 2023

As noted by @midnight-wonderer, the initialization code for the native C extension is using the wrong bit-mask for the random initial counter (noted here: #315)

This PR corrects that mistake.

@jamis jamis requested a review from comandeo July 19, 2023 21:48
@jamis jamis merged commit 1d1b725 into mongodb:master Jul 20, 2023
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants