Skip to content

Conversation

@jhawthorn
Copy link
Member

Backport of #12030 to 3.3

As of 1057485, it's possible to crash
on a double free due to `stk_alloc` AKA `msa->stack_p` being freed
twice, once at the end of match_at and a second time in `FREE_MATCH_ARG`
in the parent caller.

Fixes [Bug #20886]
@k0kubun k0kubun merged commit f4258aa into ruby:ruby_3_3 Nov 12, 2024
95 of 96 checks passed
@jhawthorn jhawthorn deleted the backport-3-3-regex_match_fix branch January 15, 2025 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants