summaryrefslogtreecommitdiff
path: root/test/ruby/test_array.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2025-02-17 17:23:14 -0800
committerJeremy Evans <code@jeremyevans.net>2025-02-18 17:18:16 -0800
commitf423f6e10c0c226dfed98e7cb7a5d489191dfa35 (patch)
tree0555c3ee3f374d762cbf355ae23c85f91bdb00a2 /test/ruby/test_array.rb
parent6e510d78c02d78d335f09f5175c73c4794fe0378 (diff)
Ensure IO.copy_stream buffer is an independent string
Otherwise, changes to the buffer by the destination write method could result in data changing for supposedly independent strings. Fixes [Bug #21131]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12771
Diffstat (limited to 'test/ruby/test_array.rb')
0 files changed, 0 insertions, 0 deletions