summaryrefslogtreecommitdiff
path: root/test/irb/test_completion.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-04-27 21:21:55 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-04-27 21:26:42 +0900
commit3f9562015e651735bfc2fdd14e8f6963b673e22a (patch)
treee3b5107346fcd0bbff7576bd2f511f90194dc1d3 /test/irb/test_completion.rb
parentafb361dfd0811f96f601d8d6492f9e1a0321ea01 (diff)
Get rid of indirect sharing
* string.c (str_duplicate): share the root shared string if the original string is already sharing, so that all shared strings refer the root shared string directly. indirect sharing can cause a dangling pointer. [Bug #15792]
Diffstat (limited to 'test/irb/test_completion.rb')
0 files changed, 0 insertions, 0 deletions