Skip to content

[pull] master from ruby:master - #1433

Merged
pull[bot] merged 1 commit into
turkdevops:masterfrom
ruby:master
Sep 22, 2026
Merged

pull[bot] merged 1 commit into
turkdevops:masterfrom
ruby:master

Conversation

@pull

@pull pull Bot commented Sep 22, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

The conversion of the pattern to string can cause the string to be modified.
This can cause a buffer overflow since it uses the original length of the
string. For example, the following script reports a buffer overflow with
ASAN:

    s = "héllo" * 1000
    obj = Object.new
    obj.define_singleton_method(:to_str) do
      s.replace("hé")
      "l"
    end
    p s.rpartition(obj)
@pull pull Bot locked and limited conversation to collaborators Sep 22, 2026
@pull pull Bot added the ⤵️ pull label Sep 22, 2026
@pull
pull Bot merged commit 88bfa30 into turkdevops:master Sep 22, 2026
1 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant