diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2024-06-04 16:17:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-04 13:17:41 -0700 |
| commit | b74f669e2fbe5c63409878e7a9f9d39c8554ff77 (patch) | |
| tree | 2659d02be0944a1c5080aecc8251a5a61befa77d /ruby.c | |
| parent | 1df1538be4a494bbc5ef6e3504312a0284948709 (diff) | |
YJIT: Fix out of bounds access when splatting empty array (#10905)
This is a backport of 6c8ae44a388e5c03b7db90376af3652007b574e8 with a
test tailored to crash the 3.3.x branch (from GH-10904).
Previously, we read the last element array even when the array was
empty, doing an out-of-bounds access. This sometimes caused a SEGV.
[Bug #20496]
Diffstat (limited to 'ruby.c')
0 files changed, 0 insertions, 0 deletions
