Skip to content

Conversation

@tenderworks
Copy link
Contributor

We need to ensure shared buffers are made independent on mutation. Otherwise we could end up mutating unrelated string buffers.

We need to ensure shared buffers are made independent on mutation.
Otherwise we could end up mutating unrelated string buffers.

Co-Authored-By: Alan Wu <[email protected]>
@kou kou merged commit 5101cfb into ruby:master Feb 20, 2025
47 checks passed
@kou
Copy link
Member

kou commented Feb 20, 2025

Thanks.

matzbot pushed a commit to ruby/ruby that referenced this pull request Feb 20, 2025
(ruby/stringio#117)

We need to ensure shared buffers are made independent on mutation.
Otherwise we could end up mutating unrelated string buffers.

---------

ruby/stringio@5101cfb030

Co-authored-by: Aaron Patterson <[email protected]>
Co-authored-by: Alan Wu <[email protected]>
Co-authored-by: Aaron Patterson <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
mrzasa pushed a commit to mrzasa/ruby that referenced this pull request Feb 21, 2025
(ruby/stringio#117)

We need to ensure shared buffers are made independent on mutation.
Otherwise we could end up mutating unrelated string buffers.

---------

ruby/stringio@5101cfb030

Co-authored-by: Aaron Patterson <[email protected]>
Co-authored-by: Alan Wu <[email protected]>
Co-authored-by: Aaron Patterson <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants