-
Notifications
You must be signed in to change notification settings - Fork 486
Undefined behavior in Rand #149
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
Changes from 4 commits
d59af0f
3a9d04b
4f61057
f4a382d
8125b66
55fe596
264c4a7
128e7df
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| [advisory] | ||
| id = "RUSTSEC-0000-0000" | ||
| package = "rand_core" | ||
| date = "2019-04-19" | ||
| informational = "unsound" | ||
| title = "Unaligned memory access" | ||
| description = """ | ||
| Affected versions of this crate violated alignment when casting byte slices to | ||
| integer slices, resulting in undefined behavior. | ||
|
|
||
| The flaws were corrected by Ralf Jung and Diggory Hardy. | ||
| """ | ||
| patched_versions = [">= 0.4.2"] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't look like the right toml format (maybe it changed); see https://github.com/RustSec/advisory-db#advisory-format.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @vks that is probably also the cause of the CI failure, though the message is quite cryptic: |
||
| url = "https://github.com/rust-random/rand/blob/master/rand_core/CHANGELOG.md#050---2019-06-06" | ||
| affected_functions = ["rand_core::BlockRng::next_u64", "rand_core::BlockRng::fill_bytes"] | ||
Uh oh!
There was an error while loading. Please reload this page.