Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy only up to
min(new_size, old_size)
when doing reallocate.
Fix #16687
- Loading branch information
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b1f7d3a
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.
saw approval from thestinger
at pnkfelix@b1f7d3a
b1f7d3a
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.
merging pnkfelix/rust/fsk-fix-nojem-realloc = b1f7d3a into auto
b1f7d3a
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.
pnkfelix/rust/fsk-fix-nojem-realloc = b1f7d3a merged ok, testing candidate = 16d538c
b1f7d3a
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.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/984
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/984
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/983
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/984
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/979
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/980
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/979
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/985
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/980
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/979
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/982
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/981
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/980
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/981
b1f7d3a
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.
fast-forwarding master to auto = 16d538c