Skip to content

rand: Use wrapping operations everywhere #23105

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

Merged
merged 1 commit into from
Mar 10, 2015

Conversation

alexcrichton
Copy link
Member

There was a buildbot failure recently of an arithmetic overflow in the isaac
module of the rand crate, so I've imported the isaac implementation from
out-of-tree which makes somewhat more liberal usage of the wrapping primitives.
Hopefull this quelches any future overflow!

@rust-highfive
Copy link
Contributor

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member Author

@Manishearth
Copy link
Member

A user hit this in IRC (b0746ff19 2015-03-05 (built 2015-03-06), with -enable-local-rust)

http://pastebin.com/0s3WeYpt

@Manishearth
Copy link
Member

cc @pnkfelix

@brson
Copy link
Contributor

brson commented Mar 9, 2015

@bors r+

@bors
Copy link
Collaborator

bors commented Mar 9, 2015

@bors r=brson 5180436

@bors
Copy link
Collaborator

bors commented Mar 10, 2015

⌛ Testing commit 5180436 with merge efb174e...

bors added a commit that referenced this pull request Mar 10, 2015
There was a buildbot failure recently of an arithmetic overflow in the isaac
module of the rand crate, so I've imported the isaac implementation from
out-of-tree which makes somewhat more liberal usage of the wrapping primitives.
Hopefull this quelches any future overflow!
@bors
Copy link
Collaborator

bors commented Mar 10, 2015

💔 Test failed - auto-linux-64-nopt-t

There was a buildbot failure recently of an arithmetic overflow in the isaac
module of the rand crate, so I've imported the isaac implementation from
out-of-tree which makes somewhat more liberal usage of the wrapping primitives.
Hopefull this quelches any future overflow!
@alexcrichton
Copy link
Member Author

@bors: r=brson efb174e

@bors
Copy link
Collaborator

bors commented Mar 10, 2015

🙀 efb174e is not a valid commit SHA. Please try again with ee7a72c.

@alexcrichton
Copy link
Member Author

@bors: r=brson ee7a72c

@bors
Copy link
Collaborator

bors commented Mar 10, 2015

⌛ Testing commit ee7a72c with merge d3c49d2...

bors added a commit that referenced this pull request Mar 10, 2015
There was a buildbot failure recently of an arithmetic overflow in the isaac
module of the rand crate, so I've imported the isaac implementation from
out-of-tree which makes somewhat more liberal usage of the wrapping primitives.
Hopefull this quelches any future overflow!
@bors
Copy link
Collaborator

bors commented Mar 10, 2015

💔 Test failed - auto-win-32-nopt-t

@Manishearth
Copy link
Member

@bors: retry

Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 10, 2015
 There was a buildbot failure recently of an arithmetic overflow in the isaac
module of the rand crate, so I've imported the isaac implementation from
out-of-tree which makes somewhat more liberal usage of the wrapping primitives.
Hopefull this quelches any future overflow!
@bors
Copy link
Collaborator

bors commented Mar 10, 2015

@bors
Copy link
Collaborator

bors commented Mar 10, 2015

@bors bors merged commit ee7a72c into rust-lang:master Mar 10, 2015
@alexcrichton alexcrichton deleted the rand-wrapping branch March 27, 2015 20:42
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.

5 participants