diff options
| author | Aaron Patterson <119901895+tenderworks@users.noreply.github.com> | 2025-02-19 16:18:02 -0800 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-02-20 00:18:08 +0000 |
| commit | a27758ad4e6a24110f11f16cf62464981dc041a2 (patch) | |
| tree | 1526e8516f4ae1637acb1386c501574b3625b435 /struct.c | |
| parent | c515da3d74779bd725f5bc60d6514d325515df0e (diff) | |
[ruby/stringio] Make sure shared buffer is copied on mutation
(https://github.com/ruby/stringio/pull/117)
We need to ensure shared buffers are made independent on mutation.
Otherwise we could end up mutating unrelated string buffers.
---------
https://github.com/ruby/stringio/commit/5101cfb030
Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org>
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
Co-authored-by: Aaron Patterson <aaron.patterson@gmail.com>
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions
