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
rustc: 1.29.0 -> 1.29.1 #47649
rustc: 1.29.0 -> 1.29.1 #47649
Conversation
Timed out, unknown build status on x86_64-darwin (full log) Attempted: rustc Partial log (click to expand)
|
Timed out, unknown build status on x86_64-linux (full log) Attempted: rustc Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: rustc Partial log (click to expand)
|
When backporting to 18.03 don't forget to also disable the checkPhase there as well. |
Maybe this should go straight to staging-next, since it's security sensitive. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Darwin builds look good.
staging-next has been merged in the meantime so no need to change the branch anymore. |
@Mic92 I added those commits to this branch. Let me know if this looks good or if this can be merged :-) |
Success on aarch64-linux (full log) Attempted: rustc Partial log (click to expand)
|
Timed out, unknown build status on x86_64-linux (full log) Attempted: rustc Partial log (click to expand)
|
Timed out, unknown build status on x86_64-darwin (full log) Attempted: rustc Partial log (click to expand)
|
@andir they can be actually squashed into one commit apart from that it looks good to me. |
From the changelog: - The standard library's `str::repeat` function contained an out of bounds write caused by an integer overflow. This has been fixed by deterministically panicking when an overflow happens.
c77eaa5
to
6ad43a0
Compare
@Mic92 Done. |
Timed out, unknown build status on x86_64-darwin (full log) Attempted: rustc Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: rustc Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: rustc Partial log (click to expand)
|
@andir did you backport this to staging-18.09? |
Motivation for this change
Fixing a security sensitive bug in the rust stdlib.
From the changelog:
str::repeat
function contained an out of bounds writecaused by an integer overflow. This has been fixed by deterministically
panicking when an overflow happens.
This change should not break anything that wasn't broken on 1.29.0 before. I have been rebuilding large portions of nixpkgs on the current staging head and didn't encounter many issues.
We should probably provide backports to 18.03 & 18.03 following the patch proposed on the original announcement mail.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)