Skip to content
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

Fixes overflow in libstd/io/cursor.rs "seek" #39874

Merged
merged 2 commits into from
Feb 21, 2017
Merged

Conversation

amosonn
Copy link
Contributor

@amosonn amosonn commented Feb 16, 2017

Fixes #39631
Test which fails (with old implementation), then fix to implementation.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @sfackler (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@amosonn amosonn changed the title Fixes #39631 Fixes overflow in libsdt/io/cursor.rs "seek" Feb 16, 2017
@alexcrichton
Copy link
Member

@bors: r+

Thanks!

@bors
Copy link
Contributor

bors commented Feb 16, 2017

📌 Commit a2d176e has been approved by alexcrichton

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Feb 16, 2017
Fixes overflow in libsdt/io/cursor.rs "seek"

Fixes rust-lang#39631
Test which fails (with old implementation), then fix to implementation.
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 17, 2017
Fixes overflow in libsdt/io/cursor.rs "seek"

Fixes rust-lang#39631
Test which fails (with old implementation), then fix to implementation.
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 17, 2017
Fixes overflow in libsdt/io/cursor.rs "seek"

Fixes rust-lang#39631
Test which fails (with old implementation), then fix to implementation.
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Feb 17, 2017
Fixes overflow in libsdt/io/cursor.rs "seek"

Fixes rust-lang#39631
Test which fails (with old implementation), then fix to implementation.
@bors
Copy link
Contributor

bors commented Feb 18, 2017

⌛ Testing commit a2d176e with merge 73415b7...

@bors
Copy link
Contributor

bors commented Feb 18, 2017

💔 Test failed - status-travis

@amosonn
Copy link
Contributor Author

amosonn commented Feb 18, 2017 via email

@alexcrichton
Copy link
Member

alexcrichton commented Feb 21, 2017 via email

@bors
Copy link
Contributor

bors commented Feb 21, 2017

⌛ Testing commit a2d176e with merge 8a1ce40...

bors added a commit that referenced this pull request Feb 21, 2017
Fixes overflow in libsdt/io/cursor.rs "seek"

Fixes #39631
Test which fails (with old implementation), then fix to implementation.
@bors
Copy link
Contributor

bors commented Feb 21, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 8a1ce40 to master...

@bors bors merged commit a2d176e into rust-lang:master Feb 21, 2017
@amosonn amosonn changed the title Fixes overflow in libsdt/io/cursor.rs "seek" Fixes overflow in libstd/io/cursor.rs "seek" Feb 10, 2020
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.

Overflow in libstd/io/cursor.rs "seek" returns incorrect error with large positions
5 participants