aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/man/bundle-clean.1.ronn
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-11-14 16:59:43 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-11-14 16:59:43 -0500
commit710c1ada8494859a6902c0baf8566d474c34ce32 (patch)
tree7fe79e2cb653ceb0950f18f4a94281b948e77f0d /lib/bundler/man/bundle-clean.1.ronn
parent9a6c3355c5c9541b9afb94d4ee770a7584c7ac15 (diff)
downloadruby-710c1ada8494859a6902c0baf8566d474c34ce32.tar.gz
Use string's capacity to determine if reembeddable
During auto-compaction, using length to determine whether or not a string can be re-embedded may be a problem for newly created strings. This is because usually it requires a malloc before setting the length. If the malloc triggers compaction, then the string may be re-embedded and can cause crashes.
Diffstat (limited to 'lib/bundler/man/bundle-clean.1.ronn')
0 files changed, 0 insertions, 0 deletions