Skip to content

liballoc: Copy only up to min(new_size, old_size) when doing reallocate. #16706

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 2 commits into from
Aug 24, 2014

Conversation

pnkfelix
Copy link
Member

Copy only up to min(new_size, old_size) when doing reallocate.

This was a bug when running with jemalloc disabled.

Fix #16687

@pnkfelix
Copy link
Member Author

@nikomatsakis @alexcrichton This is the bug we were talking about yesterday that was plaguing OS X with jemalloc disabled.

bors added a commit that referenced this pull request Aug 24, 2014
Copy only up to `min(new_size, old_size)` when doing reallocate.

This was a bug when running with jemalloc disabled.

Fix #16687
@bors bors closed this Aug 24, 2014
@bors bors merged commit b1f7d3a into rust-lang:master Aug 24, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 3, 2024
internal: Remove load-cargo dependency on ide

This lightens up the dep tree for projects using r-a as a library that do not need the ide crate itself.
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.

liballoc broken w/o jemalloc
4 participants