Description of the patch:
This update for ruby3.4 fixes the following issues:
- CVE-2026-132825: Heap buffer overflow in case conversion of strings (bsc#1290919).
- Double free in regular expression compilation (bsc#1290920).
- Heap buffer overflow in Regexp#to_s (bsc#1290925).
- Heap buffer overflow in regular expression compilation (bsc#1290924).
- Integer overflow in case conversion of strings (bsc#1290921).
- Out-of-bounds read in case-insensitive backreference matching (bsc#1290926).
- Out-of-bounds read in case-insensitive regular expression matching (bsc#1290923).
Changes for ruby3.4:
Update to 3.4.13
- Bug #22477: rb_ec_clear_vm_stack() can still clear the VM stack before
ec->cfp = NULL on aarch64
- Bug #22479: File.realdirpath returns a wrong path when GC runs while it
resolves a relative symlink
- Bug #22476: rb_profile_frames() called from a signal handler segfaults
while vm_make_env_each() is escaping a chain of frames
- Bug #22416: Respect timezone abbreviation encodings in Time#strftime
- Bug #22436: Array#zip with a method_missing-based argument leaks a stale
block handler (segfault when the next C-called method yields)
- Bug #22449: Out-of-bounds in Array#sample when array modified
- Bug #22450: Jump value attaches block in incorrect place under parse.y
- Bug #22456: IO#close hangs forever when another thread is writing to the IO
from a trap handler (please backport ba68343d3a to 3.4)
- JIT: Reject --{y,z}jit-exec-mem-size values that overflow the u32
reservation size by st0012 . Pull Request #19720
- Bug #22451: Coderange may be set incorrectly when concatenating a string into itself
- Bug #20655: Calling continuation triggers ensure function of rb_ensure
- Bug #22458: Time#strftime out-of-bound access
- Bug #22461: Use-after-free in String formatting with wide character encodings
- Bug #22471: Thread#name= on a terminated thread may dump core
- Bug #22467: IO#readpartial can raise EFAULT during GC.compact in another…