Skip to content

Check for overflow in Cursor<Vec<u8>>::write. #36938

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 Oct 4, 2016
Merged

Check for overflow in Cursor<Vec<u8>>::write. #36938

merged 1 commit into from Oct 4, 2016

Conversation

ghost
Copy link

@ghost ghost commented Oct 3, 2016

Ensure that cursor position fits into usize, before proceeding with
write. Fixes issue #36884.

Ensure that cursor position fits into usize, before proceeding with
write. Fixes issue #36884.
@rust-highfive
Copy link
Contributor

r? @alexcrichton

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

@alexcrichton
Copy link
Member

@bors: r+

Thanks!

@bors
Copy link
Collaborator

bors commented Oct 3, 2016

📌 Commit 4935343 has been approved by alexcrichton

Manishearth added a commit to Manishearth/rust that referenced this pull request Oct 4, 2016
…xcrichton

Check for overflow in Cursor<Vec<u8>>::write.

Ensure that cursor position fits into usize, before proceeding with
write. Fixes issue rust-lang#36884.
bors added a commit that referenced this pull request Oct 4, 2016
Rollup of 12 pull requests

- Successful merges: #36798, #36878, #36902, #36903, #36908, #36916, #36917, #36921, #36928, #36938, #36941, #36951
- Failed merges:
@bors bors merged commit 4935343 into rust-lang:master Oct 4, 2016
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.

4 participants