Skip to content

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

Merged
bors merged 2 commits intorust-lang:masterfrom
pnkfelix:fsk-fix-nojem-realloc
Aug 24, 2014
Merged

liballoc: Copy only up to min(new_size, old_size) when doing reallocate.#16706
bors merged 2 commits intorust-lang:masterfrom
pnkfelix:fsk-fix-nojem-realloc

Conversation

@pnkfelix
Copy link
Contributor

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
Contributor 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.
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Mar 22, 2026
```
$ git log --oneline 85eff7c80277b57f78b11e28d14154ab12fcf643..292f395c297d4f99171325b0842ac4ea4ff3b386
292f395c2 (HEAD) [stable 1.94] Fix symlink_and_directory when running in a long target dir name (rust-lang#16777)
d00475981 Fix symlink_and_directory when running in a long target dir name (rust-lang#16775)
ce98781f7 [stable 1.94] Update tar to 0.4.45 (rust-lang#16769)
fec7f9297 Update tar to 0.4.45
5e256e377 Add a test for a tar file with a symlink and directory of the same name
1ed92053d test: Remove unused docker ip_address (rust-lang#16636)
d7a2a0307 Increase cache_lock test timeout (rust-lang#16545)
95d93fb89 Don't check the specific build-std output
dfbe729f6 chore: Updated compiler errors for Rust 1.93 (rust-lang#16543)
cb03b21f6 Update cargo-semver-checks to 0.47.0
f7777c4f9 test(build-std): Update error message (rust-lang#16658)
a56abe18a Disable custom target JSON spec test
634668d49 fix: `--remap-path-scope` stabilized in 1.95-nightly (rust-lang#16536)
d428eaa44 fix(script): surpress `unused_features` lint for embedded (rust-lang#16714)
e7b27c7f9 test(git): Mark a test as non-deterministic (rust-lang#16706)
38922ca44 test(replace): Mark a test as non-deterministic (rust-lang#16700)
```
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