diff options
| author | John Hawthorn <john@hawthorn.email> | 2024-11-12 09:04:21 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-12 09:04:21 -0800 |
| commit | f4258aaed02ee7be761f2499b0b6243a8f37b7cb (patch) | |
| tree | 989920cfa73194b0121aaee72fd8236a36d34d40 /test/ruby/test_rubyoptions.rb | |
| parent | a51a6bf6926241704593b9439e91c06ee6f3ee61 (diff) | |
[Bug #20886] Avoid double-free in regex timeout after stack_double (#12063)
Fix regex timeout double-free after stack_double
As of 10574857ce167869524b97ee862b610928f6272f, 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]
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
0 files changed, 0 insertions, 0 deletions
