diff options
| author | NARUSE, Yui <nurse@users.noreply.github.com> | 2024-03-21 02:13:59 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-20 17:13:59 +0000 |
| commit | 00cb72157a60c20a9b9d9fe81fc974ea83d672b4 (patch) | |
| tree | 3f5d238c1e7aabcd6222beefa5c95b5679510bd3 /spec/ruby/core/array/shared/replace.rb | |
| parent | c626c201e4129bbea17583ecef73472c6f668c81 (diff) | |
merge revision(s) 3e6e3ca2627b1aa71b17de902cc1b8188246a828: [Backport #20207] (#10299)
Correctly handle consecutive lookarounds (#9738)
Fix [Bug #20207]
Fix [Bug #20212]
Handling consecutive lookarounds in init_cache_opcodes is buggy, so it
causes invalid memory access reported in [Bug #20207] and [Bug #20212].
This fixes it by using recursive functions to detected lookarounds
nesting correctly.
Diffstat (limited to 'spec/ruby/core/array/shared/replace.rb')
0 files changed, 0 insertions, 0 deletions
