Skip to content

Eliminate arithmetic overflows in Version.hashValue #633

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
Sep 4, 2016

Conversation

gribozavr
Copy link
Contributor

UInt64(hashValue) traps when the hash value is negative.

UInt64(hashValue) traps when the hash value is negative.
@gribozavr
Copy link
Contributor Author

@swift-ci Please test

@gribozavr
Copy link
Contributor Author

@ddunbar Could you review, please?

@ddunbar
Copy link
Contributor

ddunbar commented Sep 4, 2016

LGTM, thanks! I'm not sure what is up with the Linux PR bot but going ahead and merging.

@ddunbar ddunbar merged commit efb60b2 into master Sep 4, 2016
@gribozavr gribozavr deleted the eliminate-overflows-in-Version.hashValue branch September 4, 2016 05:12
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