chore(deps): update dependency ruby to v4.0.10 #202

Open
renovate wants to merge 1 commit from renovate/ruby-version into main
Collaborator

This PR contains the following updates:

Package Type Update Change
ruby (source) tools patch 4.0.9 → 4.0.10

Release Notes

ruby/ruby (ruby)

v4.0.10: 4.0.10

Compare Source

What's Changed

Security fixes

This release fixes seven vulnerabilities. See Security advisories: multiple vulnerabilities in Regexp and String case conversion for details.

String and encodings
  • IO#write of a shareable String from multiple Ractors causes use-after-free (Bug #​22382, #​19023)
  • String#initialize(encoding:) stores an inflated capacity and writes past the malloc'd buffer on append (rb_str_init termlen double-adjust) (Bug #​22423, #​19297, #​19403)
  • Coderange may be set incorrectly when concatenating a string into itself (Bug #​22451, #​19357)
  • Use-after-free in String formatting with wide character encodings (Bug #​22461, #​19472)
  • UTF-32 strings with a byte 0x80 or more in the most significant position are reported as valid (Bug #​22495, #​19646)
  • Some String methods return a UTF-16/32 string without room for its terminator (Bug #​22517, #​19794)
  • String#unpack("m") computes the buffer size with an overflowing multiplication (Bug #​22518, #​19797)
  • Fix an out-of-bounds write in substrings of UTF-16/UTF-32 strings and an over-read when marking temporary buffers; only these two memory fixes are taken from “gc.c: Verify provided size in rb_gc_impl_free” by byroot (#​15989)
  • Copy terminator when moving strings to the heap. by eightbitraptor (#​16201)
  • Packing the buffer into itself is not possible by nobu (#​16741)
  • sprintf.c: Fix width overflow by nobu (#​17221)
  • Use the result encoding for the terminator in String#ljust/rjust/center by mame (#​17260)
  • Fix a potential out-of-bounds read by nobu (#​17754)
  • Keep the fallback string alive across rb_econv_insert_output by ko1 (#​18569)
  • Fix out-of-range reads and negative-length substrings in String by hsbt (#​18658)
  • Fix understated max_output in three transcoders by hsbt (#​18661)
  • Fix out-of-bounds in String#setbyte when string modified by peterzhu2118 (#​18878)
  • Fix use-after-free in String#[]= when string modified by peterzhu2118 (#​18898)
  • Fix buffer overflow in String#slice! when string modified by peterzhu2118 (#​18906)
  • Fix use-after-free in String#strip methods by peterzhu2118 (#​18920)
  • Fix use-after-free in String#each_line with separator modified by peterzhu2118 (#​18925)
  • Fix use-after-free in String#% when array modified by peterzhu2118 (#​18931)
  • Fix out-of-bounds access in String#byteindex/byterindex by peterzhu2118 (#​18942)
  • Fix buffer overflow in String#rpartition by peterzhu2118 (#​18946)
  • Fix use-after-free in String#unpack by peterzhu2118 (#​18970)
  • Fix crash in Array#pack when format string modified by peterzhu2118 (#​19011)
  • Fix overflow checks that rely on negating LONG_MIN and INT_MIN by hsbt (#​19207)
  • Fix integer overflow in String#[]= with a capture index of INT_MIN by mame (#​19504)
  • Check the terminator length in rb_str_resize and rb_str_modify_expand by mame (#​19697)
  • Check the size before growing the output buffer of transcoding by mame (#​19798)
  • Fix use-after-free when string modified in warning by peterzhu2118 (#​19904)
  • Fix buffer overflow in chilled string warning in String#setbyte by peterzhu2118 (#​19913)
  • Fix out-of-bounds for modified chilled string in String#append_as_bytes by peterzhu2118 (#​19914)
  • Disallow converting a buffer into itself in primitive_convert by afsozer (#​19918)
  • Fix overlapping memcpy in String#<< when chilled string modified by peterzhu2118 (#​19920)
Regexp
  • The number of captures may change depending on the encoding of the target string (Bug #​22491, #​19641, #​19799)
  • String#rindex misses a match with a leading .* in multiline mode (Bug #​22492, #​19643)
  • Regexp search misses a match when an assertion precedes a leading .* (Bug #​22494, #​19645)
  • Part of “Update Onigmo to 6.2.0” by nobu (#​15851):
    • [k-takata/Onigmo] Fix out-of-bounds read in parse_char_class()
    • Now onigenc_single_byte_code_to_mbclen checks out-of-bound
    • [k-takata/Onigmo] Fix that onig_new() may crash
    • [k-takata/Onigmo] Fix SEGV in onig_error_code_to_str()
    • [k-takata/Onigmo] Fix stack overflow with X+++++++++++++++++++…
  • Check the result of compile_length_tree() at every call site by mame (#​19505)
  • Check remaining pattern length in str_lower_case_match by mame (#​19560)
  • Check the remaining length in rb_memsearch_qs_utf8_hash by mame (#​19704)
Core classes
  • Lazy enumerator .each_with_index ignores .take(0) before it (Bug #​21142, Bug #​22496, #​19109, #​19668)
  • Assertion Failed: ary_resize_capa:RARRAY_LEN(ary) <= capacity (Bug #​22333, #​18907)
  • Out-of-bounds in Array#sample when array modified (Bug #​22449, #​19384)
  • Time#strftime out-of-bound access (Bug #​22458, #​19457)
  • Array#find and Array#rfind arity change between versions 3 and 4 (Bug #​22470, #​19516)
  • Overflow in st_init_existing_table_with_size / Hash.new(capacity:) (Bug #​22512, #​19773)
  • Array#fill should respect frozenness from yields (Bug #​22529, #​19821)
  • Ensure T_DATA before RTYPEDDATA_P by nobu (#​15758)
  • Prefer ALLOCV over ALLOCA for unknown size by nobu (#​15765)
  • Separate the case default_seed_bits is 0 by nobu (#​16341)
  • enumerator.c: guard eargs in append_method and arith_seq_inspect by dummyx (#​16809)
  • Add writebarrier for Array#reverse by jhawthorn (#​17944)
  • Fix bignum power_cache across Ractors (used by big2str/str2big) by luke-gruber (#​18094)
  • Marshal.load: Fix buffer overflow at overread of string body by hsbt (#​18368)
  • Check struct size when a user class relabels a loaded struct by hsbt (#​18657)
  • Fix out-of-bounds in Array#permutation when array modified by peterzhu2118 (#​18951)
  • Fix use-after-free in Time.new when string modified by peterzhu2118 (#​18956)
  • Fix use-after-free in Marshal.dump by peterzhu2118 (#​18974)
  • Fix out-of-bounds crash in Array#repeated_permutation by peterzhu2118 (#​19095)
  • Add a more defensive GC guard in Set#& by nobu (#​19166, follow-up of Bug #​22388)
  • Do not embed arrays that will overflow length bits by peterzhu2118 (#​19193)
  • Do not parse past an empty string in rb_int_parse_cstr by fuzzyrichie (#​19656; the pull request is titled after MatchData#integer_at, which does not exist in Ruby 4.0)
  • Early return from ary_sample if the sampling number is 0 by nobu (#​19673)
  • Fix the digit count of rb_int_parse_cstr for all-zero input by mame (#​19698)
  • Fix UAF in marshall.c by eightbitraptor (#​19733)
  • Check reentry after comparison conversion by nobu (#​19753)
  • Fix signed integer overflow in rb_range_component_beg_len by gotoken (#​19824)
  • Fix TOCTOU in Array#pop when array frozen in to_int by peterzhu2118 (#​19935)
IO, File, Process and Socket
  • Socket.tcp_with_fast_fallback('example.com', 80, '127.0.0.1') fails with unknown socket domain: ipv4 (SocketError) (Bug #​21512, #​19363)
  • IO#external_encoding / IO#internal_encoding segfault on an uninitialized IO (Bug #​22410, #​19252)
  • IO#sysread and IO#pread are inconsistent for length 0 and negative numbers; only the check for a negative length with a buffer argument is backported (Bug #​22433, #​19323)
  • IO#readpartial can raise EFAULT during GC.compact in another thread (Bug #​22467, #​19515)
  • File.realdirpath returns a wrong path when GC runs while it resolves a relative symlink (Bug #​22479, #​19573)
  • IO#gets(nil, limit) stops right after a 0xFF byte (Bug #​22537, #​19941)
  • Process.spawn leaves the env, umask, and redirections applied in the parent on Windows when chdir: fails (Bug #​22540, #​19893)
  • Fix: Do not fast_fallback if local_port is explicitly specified by shioimm (#​15732)
  • Ensure safe handling of hexdump width. by ioquatix (#​16593)
  • Fix IO::Buffer#each_byte bounds check by afurm (#​16823)
  • rb_fiber_scheduler_blocking_operation_wait can garbage collect blocking_operation incorrectly. by samuel-williams-shopify (#​16908)
  • Dump FreeBSD socket credential data wholely by nobu (#​17214)
  • io.c: use a write barrier when storing IO#timeout= by ko1 (#​17670)
  • Fix connection attempt fd handling in TCPSocket.new fast fallback by hsbt (#​18840)
  • Synchronize fast fallback cleanup with resolver threads by hsbt (#​18844)
  • Fix resolver error handling in TCPSocket.new fast fallback by hsbt (#​18846)
  • Keep stdin open when TCPSocket.new rejects open_timeout by hsbt (#​19523)
  • Fix fill_cbuf putting back more bytes than the current rbuf fill holds by mame (#​19565)
  • Lock the buffer in IO.copy_stream fallback reads by rhenium (#​19618)
  • Skip whitespace in rb_memory_view_parse_item_format fill pass by fuzzyrichie (#​19807)
  • Fix thread leaks in Socket.tcp_with_fast_fallback by nobu (c091c186e4, backported in #​19810)
VM, GC, Thread and Ractor
  • Thread#raise and Fiber#raise can set VM throw data as Exception#cause, causing a crash. (Bug #​22541, Bug #​19593, #​19861)
  • ruby-prof breaks on 4.0.1 (Bug #​21854, #​16002)
  • ruby-head builds have been failing on aarch64-linux CI in ruby/ruby-dev-builder (Bug #​22261, #​18495)
  • Hang on GC.compact (Bug #​22389, #​19118)
  • ASan UAF and Assertion Failed: gc_validate_pc:CFP_PC(cfp) >= iseq_encoded: PC not set when allocating, breaking tracing (Bug #​22409, #​19250)
  • Assertion Failed: vm_ep_in_heap_p_:env->ep == ep (Bug #​22412, #​19251)
  • Array#zip with a method_missing-based argument leaks a stale block handler (segfault when the next C-called method yields) (Bug #​22436, #​19337)
  • Thread#name= on a terminated thread may dump core (Bug #​22471, #​19520)
  • rb_profile_frames() called from a signal handler segfaults while vm_make_env_each() is escaping a chain of frames (Bug #​22476, #​19559)
  • rb_ec_clear_vm_stack() can still clear the VM stack before ec->cfp = NULL on aarch64 (Bug #​22477, #​19561)
  • Proc#== does not return true for the same lexical code block (Bug #​22498, #​19696)
  • Keyword arguments can be freed during argument setup when a method has more than 31 keywords (Bug #​22500, #​19679)
  • Empty keyword hash mishandled when calling a Method proc through the C API (Bug #​22504, #​19607)
  • Please backport ee90e8e (concurrent set size overcount) to 4.0: fstring table keeps doubling in long-running apps (Bug #​22511, #​16701)
  • Release mode segfault due to half-initialized error in singleton_method (Bug #​22535, #​19839)
  • Segfault when several Ractors call Kernel#class or #frozen? on objects of many classes (Bug #​22553, #​19925)
  • Speedup repeated calls to rb_gccct_clear_table by byroot (#​16398)
  • Fix data race on heap_pages.sorted in rb_gc_register_mark_object by ko1 (#​17300)
  • Keep curry's argument array alive across the inner call by ko1 (#​17349)
  • ractor: guard the port VALUE across receive/send by ko1 (#​17849)
  • Part of “Fix for String without terminators” by nobu (#​17882):
    • Search NameError messages within string bounds
    • Bound the hostname terminator search
    • Bound backtrace output strings
  • id_table.c: keep managed id table live across foreach/dup callbacks by ko1 (#​18117)
  • Raise instead of crashing when a non-T_DATA object is not shareable by ko1 (#​18174)
  • coroutine: do not write to the target after switching away by ko1 (#​18354)
  • Honor the buffer size in Darwin backtrace by nobu (#​19033)
  • Part of “Keep embedded TypedData pinned while their data is in use” by shugo (#​19144):
    • Keep a managed id table pinned while inserting into it
    • Keep a lazy enumerator's proc entry pinned while its block runs
  • Fix out-of-bound access of empty rest arguments array by nobu (#​19387)
  • Make blockparamproxy shareable by luke-gruber (#​19740)
  • Fix crash/hang sending to the main Ractor after fork by jhawthorn (#​19840)
  • Fix concurrent_set delete missing keys past an in-progress insert by jhawthorn (#​19903)
  • Fix off-by-one in rb_internal_thread_specific_key_create by jhawthorn (#​19967)
  • Fix buffer overflow in Proc#== when no env by peterzhu2118 (#​19978)
Parser and compiler
  • Cannot inspect RubyVM::AST for CDECL (Bug #​21974, #​16642)
  • Jump value attaches block in incorrect place under parse.y (Bug #​22450, #​19411)
  • Class#new shouldn't call refined initialize methods (Bug #​22539, #​19857)
  • Segmentation fault when compiling CONST ||= value, CONST &&= value or CONST += value under # shareable_constant_value: literal (Prism compiler) (Bug #​22543, #​19892)
  • Clarify &&= and ||= on multi-line (Bug #​22556, #​19943)
  • parse.y segmentation fault parsing malformed nested case (Bug #​22557, #​19963)
  • parse.y hits UNREACHABLE_RETURN(0) after compile_error in rb_parser_enc_cr_str_buf_cat (Bug #​22560, #​19936)
  • Regexp named capture names with invalid source encoding (Bug #​22597, #​19981)
  • parse.y rejects valid retry after a class / class << self definition inside rescue (Invalid retry after ensure) (Bug #​22599, #​19984)
  • Add potential missing GC guard in iseq_data_to_ary by peterzhu2118 (#​15810)
  • Fixed the error message for ibf_load_builtin by nobu (#​16723)
  • Update mark bits as we go in ibf load by jhawthorn (#​16787)
  • compile.c: reject negative object index in the IBF loader (pinned_list_store / pinned_list_fetch) by Gengyskan (#​17452)
  • iseq: use RB_OBJ_WRITE for the lazy-load loader object by ko1 (#​17658)
  • Fix data race in rb_iseq_original_iseq by shugo (#​17923)
  • Keep room in the token buffer for the terminator by shugo (#​17980)
  • compile.c: pass the new operand ci to the write barrier, not the INSN by ko1 (#​18172)
  • Fix reference update bug in iseq_scan_bits by peterzhu2118 (#​18527)
  • Saturate parser columns at INT_MAX by hsbt (#​19314)
  • Set dummy ID when broken numeric by nobu (#​19512)
YJIT and ZJIT
  • --enable=zjit does not enable ZJIT (Bug #​22427, #​19307)
  • YJIT: gen_struct_aset check for frozen status by byroot (#​15722)
  • YJIT: Add frozen guard for struct aset by tekknolagi (#​15835)
  • YJIT: Unlink failed batch blocks from the graph by sam-harri (#​19372)
  • YJIT: Fall back for explicit keywords in IFUNC block calls by thomasklemm (#​19554)
  • YJIT: A64: Load the absolute address for far jumps in emit_jmp_ptr by hsbt (#​19718)
  • JIT: Reject --{y,z}jit-exec-mem-size values that overflow the u32 reservation size by st0012 (#​19720)
  • YJIT: Pass the stack address to the variable-length splat guard by k0kubun (#​19933)
Windows
  • win32: Fix a double free and a stack over-read in path handling by hsbt (#​18028)
  • Part of “Win32: harden path and time handlings” by nobu (#​19100):
    • win32: Handle an empty system temporary path
    • win32: Harden AF_UNIX socketpair path handling
  • mswin: Define STACK_GROW_DIRECTION on arm64 too by hsbt (#​19149)
  • win32: Wait for the cancelled pipe I/O before returning by hsbt (#​19522)
  • Keep the getenv result per thread on Windows by hsbt (#​19702)
Default gems
Build, installation and tests
  • Run tests that require callcc by hsbt (#​19687, related to Bug #​20655)
  • require "strscan" no longer activates the default gem, so a newer installed strscan is ignored and later loaded twice (Bug #​22420, #​19275)
  • Ruby's release tarballs are not POSIX compliant since 2018 (Bug #​22480, #​19576)
  • test/ruby/test_io.rb: do not set RLIMIT_NPROC by rhenium (#​17147)
  • test/ruby/test_process.rb: simplify testing spawn with long strings by rhenium (#​17148)
  • Socket#connect spec: handle EHOSTUNREACH by byroot (#​19828)
  • mswin: Work around an internal compiler error on ARM64 by hsbt (#​19917)

Full Changelog


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [ruby](https://www.ruby-lang.org) ([source](https://github.com/ruby/ruby)) | tools | patch | `4.0.9` → `4.0.10` | --- ### Release Notes <details> <summary>ruby/ruby (ruby)</summary> ### [`v4.0.10`](https://github.com/ruby/ruby/releases/tag/v4.0.10): 4.0.10 [Compare Source](https://github.com/ruby/ruby/compare/v4.0.9...v4.0.10) #### What's Changed ##### Security fixes This release fixes seven vulnerabilities. See [Security advisories: multiple vulnerabilities in Regexp and String case conversion](https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/) for details. - [GHSA-34m4-m9fh-gqp5](https://github.com/ruby/ruby/security/advisories/GHSA-34m4-m9fh-gqp5): Heap buffer overflow in case conversion of strings ([#&#8203;20005](https://github.com/ruby/ruby/pull/20005)) - [GHSA-7x2q-68qv-6p8x](https://github.com/ruby/ruby/security/advisories/GHSA-7x2q-68qv-6p8x): Double free in regular expression compilation ([#&#8203;20001](https://github.com/ruby/ruby/pull/20001)) - [GHSA-87fm-7w84-j2px](https://github.com/ruby/ruby/security/advisories/GHSA-87fm-7w84-j2px): Integer overflow in case conversion of strings ([#&#8203;20006](https://github.com/ruby/ruby/pull/20006)) - [GHSA-wpqw-5qxg-m68r](https://github.com/ruby/ruby/security/advisories/GHSA-wpqw-5qxg-m68r): Out-of-bounds read in case-insensitive regular expression matching ([#&#8203;20002](https://github.com/ruby/ruby/pull/20002)) - [GHSA-3p8q-wmhx-vm2w](https://github.com/ruby/ruby/security/advisories/GHSA-3p8q-wmhx-vm2w): Heap buffer overflow in regular expression compilation ([#&#8203;20000](https://github.com/ruby/ruby/pull/20000)) - [GHSA-7whj-cfh7-xgm4](https://github.com/ruby/ruby/security/advisories/GHSA-7whj-cfh7-xgm4): Heap buffer overflow in Regexp#to_s ([#&#8203;20004](https://github.com/ruby/ruby/pull/20004)) - [GHSA-pvgc-g7gj-pv6h](https://github.com/ruby/ruby/security/advisories/GHSA-pvgc-g7gj-pv6h): Out-of-bounds read in case-insensitive backreference matching ([#&#8203;20003](https://github.com/ruby/ruby/pull/20003)) ##### String and encodings - IO#write of a shareable String from multiple Ractors causes use-after-free ([Bug #&#8203;22382](https://bugs.ruby-lang.org/issues/22382), [#&#8203;19023](https://github.com/ruby/ruby/pull/19023)) - String#initialize(encoding:) stores an inflated capacity and writes past the malloc'd buffer on append (rb_str_init termlen double-adjust) ([Bug #&#8203;22423](https://bugs.ruby-lang.org/issues/22423), [#&#8203;19297](https://github.com/ruby/ruby/pull/19297), [#&#8203;19403](https://github.com/ruby/ruby/pull/19403)) - Coderange may be set incorrectly when concatenating a string into itself ([Bug #&#8203;22451](https://bugs.ruby-lang.org/issues/22451), [#&#8203;19357](https://github.com/ruby/ruby/pull/19357)) - Use-after-free in `String` formatting with wide character encodings ([Bug #&#8203;22461](https://bugs.ruby-lang.org/issues/22461), [#&#8203;19472](https://github.com/ruby/ruby/pull/19472)) - UTF-32 strings with a byte 0x80 or more in the most significant position are reported as valid ([Bug #&#8203;22495](https://bugs.ruby-lang.org/issues/22495), [#&#8203;19646](https://github.com/ruby/ruby/pull/19646)) - Some String methods return a UTF-16/32 string without room for its terminator ([Bug #&#8203;22517](https://bugs.ruby-lang.org/issues/22517), [#&#8203;19794](https://github.com/ruby/ruby/pull/19794)) - String#unpack("m") computes the buffer size with an overflowing multiplication ([Bug #&#8203;22518](https://bugs.ruby-lang.org/issues/22518), [#&#8203;19797](https://github.com/ruby/ruby/pull/19797)) - Fix an out-of-bounds write in substrings of UTF-16/UTF-32 strings and an over-read when marking temporary buffers; only these two memory fixes are taken from “gc.c: Verify provided size in `rb_gc_impl_free`” by byroot ([#&#8203;15989](https://github.com/ruby/ruby/pull/15989)) - Copy terminator when moving strings to the heap. by eightbitraptor ([#&#8203;16201](https://github.com/ruby/ruby/pull/16201)) - Packing the buffer into itself is not possible by nobu ([#&#8203;16741](https://github.com/ruby/ruby/pull/16741)) - sprintf.c: Fix width overflow by nobu ([#&#8203;17221](https://github.com/ruby/ruby/pull/17221)) - Use the result encoding for the terminator in String#ljust/rjust/center by mame ([#&#8203;17260](https://github.com/ruby/ruby/pull/17260)) - Fix a potential out-of-bounds read by nobu ([#&#8203;17754](https://github.com/ruby/ruby/pull/17754)) - Keep the fallback string alive across rb_econv_insert_output by ko1 ([#&#8203;18569](https://github.com/ruby/ruby/pull/18569)) - Fix out-of-range reads and negative-length substrings in String by hsbt ([#&#8203;18658](https://github.com/ruby/ruby/pull/18658)) - Fix understated max_output in three transcoders by hsbt ([#&#8203;18661](https://github.com/ruby/ruby/pull/18661)) - Fix out-of-bounds in String#setbyte when string modified by peterzhu2118 ([#&#8203;18878](https://github.com/ruby/ruby/pull/18878)) - Fix use-after-free in String#\[]= when string modified by peterzhu2118 ([#&#8203;18898](https://github.com/ruby/ruby/pull/18898)) - Fix buffer overflow in String#slice! when string modified by peterzhu2118 ([#&#8203;18906](https://github.com/ruby/ruby/pull/18906)) - Fix use-after-free in String#strip methods by peterzhu2118 ([#&#8203;18920](https://github.com/ruby/ruby/pull/18920)) - Fix use-after-free in String#each_line with separator modified by peterzhu2118 ([#&#8203;18925](https://github.com/ruby/ruby/pull/18925)) - Fix use-after-free in String#% when array modified by peterzhu2118 ([#&#8203;18931](https://github.com/ruby/ruby/pull/18931)) - Fix out-of-bounds access in String#byteindex/byterindex by peterzhu2118 ([#&#8203;18942](https://github.com/ruby/ruby/pull/18942)) - Fix buffer overflow in String#rpartition by peterzhu2118 ([#&#8203;18946](https://github.com/ruby/ruby/pull/18946)) - Fix use-after-free in String#unpack by peterzhu2118 ([#&#8203;18970](https://github.com/ruby/ruby/pull/18970)) - Fix crash in Array#pack when format string modified by peterzhu2118 ([#&#8203;19011](https://github.com/ruby/ruby/pull/19011)) - Fix overflow checks that rely on negating LONG_MIN and INT_MIN by hsbt ([#&#8203;19207](https://github.com/ruby/ruby/pull/19207)) - Fix integer overflow in String#\[]= with a capture index of INT_MIN by mame ([#&#8203;19504](https://github.com/ruby/ruby/pull/19504)) - Check the terminator length in rb_str_resize and rb_str_modify_expand by mame ([#&#8203;19697](https://github.com/ruby/ruby/pull/19697)) - Check the size before growing the output buffer of transcoding by mame ([#&#8203;19798](https://github.com/ruby/ruby/pull/19798)) - Fix use-after-free when string modified in warning by peterzhu2118 ([#&#8203;19904](https://github.com/ruby/ruby/pull/19904)) - Fix buffer overflow in chilled string warning in String#setbyte by peterzhu2118 ([#&#8203;19913](https://github.com/ruby/ruby/pull/19913)) - Fix out-of-bounds for modified chilled string in String#append_as_bytes by peterzhu2118 ([#&#8203;19914](https://github.com/ruby/ruby/pull/19914)) - Disallow converting a buffer into itself in primitive_convert by afsozer ([#&#8203;19918](https://github.com/ruby/ruby/pull/19918)) - Fix overlapping memcpy in String#<< when chilled string modified by peterzhu2118 ([#&#8203;19920](https://github.com/ruby/ruby/pull/19920)) ##### Regexp - The number of captures may change depending on the encoding of the target string ([Bug #&#8203;22491](https://bugs.ruby-lang.org/issues/22491), [#&#8203;19641](https://github.com/ruby/ruby/pull/19641), [#&#8203;19799](https://github.com/ruby/ruby/pull/19799)) - String#rindex misses a match with a leading .\* in multiline mode ([Bug #&#8203;22492](https://bugs.ruby-lang.org/issues/22492), [#&#8203;19643](https://github.com/ruby/ruby/pull/19643)) - Regexp search misses a match when an assertion precedes a leading .\* ([Bug #&#8203;22494](https://bugs.ruby-lang.org/issues/22494), [#&#8203;19645](https://github.com/ruby/ruby/pull/19645)) - Part of “Update Onigmo to 6.2.0” by nobu ([#&#8203;15851](https://github.com/ruby/ruby/pull/15851)): - \[k-takata/Onigmo] Fix out-of-bounds read in parse_char_class() - Now onigenc_single_byte_code_to_mbclen checks out-of-bound - \[k-takata/Onigmo] Fix that onig_new() may crash - \[k-takata/Onigmo] Fix SEGV in onig_error_code_to_str() - \[k-takata/Onigmo] Fix stack overflow with X+++++++++++++++++++… - Check the result of compile_length_tree() at every call site by mame ([#&#8203;19505](https://github.com/ruby/ruby/pull/19505)) - Check remaining pattern length in str_lower_case_match by mame ([#&#8203;19560](https://github.com/ruby/ruby/pull/19560)) - Check the remaining length in rb_memsearch_qs_utf8_hash by mame ([#&#8203;19704](https://github.com/ruby/ruby/pull/19704)) ##### Core classes - Lazy enumerator `.each_with_index` ignores `.take(0)` before it ([Bug #&#8203;21142](https://bugs.ruby-lang.org/issues/21142), [Bug #&#8203;22496](https://bugs.ruby-lang.org/issues/22496), [#&#8203;19109](https://github.com/ruby/ruby/pull/19109), [#&#8203;19668](https://github.com/ruby/ruby/pull/19668)) - Assertion Failed: ary_resize_capa:RARRAY_LEN(ary) <= capacity ([Bug #&#8203;22333](https://bugs.ruby-lang.org/issues/22333), [#&#8203;18907](https://github.com/ruby/ruby/pull/18907)) - Out-of-bounds in `Array#sample` when array modified ([Bug #&#8203;22449](https://bugs.ruby-lang.org/issues/22449), [#&#8203;19384](https://github.com/ruby/ruby/pull/19384)) - `Time#strftime` out-of-bound access ([Bug #&#8203;22458](https://bugs.ruby-lang.org/issues/22458), [#&#8203;19457](https://github.com/ruby/ruby/pull/19457)) - Array#find and Array#rfind arity change between versions 3 and 4 ([Bug #&#8203;22470](https://bugs.ruby-lang.org/issues/22470), [#&#8203;19516](https://github.com/ruby/ruby/pull/19516)) - Overflow in `st_init_existing_table_with_size` / `Hash.new(capacity:)` ([Bug #&#8203;22512](https://bugs.ruby-lang.org/issues/22512), [#&#8203;19773](https://github.com/ruby/ruby/pull/19773)) - Array#fill should respect frozenness from yields ([Bug #&#8203;22529](https://bugs.ruby-lang.org/issues/22529), [#&#8203;19821](https://github.com/ruby/ruby/pull/19821)) - Ensure `T_DATA` before `RTYPEDDATA_P` by nobu ([#&#8203;15758](https://github.com/ruby/ruby/pull/15758)) - Prefer `ALLOCV` over `ALLOCA` for unknown size by nobu ([#&#8203;15765](https://github.com/ruby/ruby/pull/15765)) - Separate the case `default_seed_bits` is 0 by nobu ([#&#8203;16341](https://github.com/ruby/ruby/pull/16341)) - enumerator.c: guard `eargs` in `append_method` and `arith_seq_inspect` by dummyx ([#&#8203;16809](https://github.com/ruby/ruby/pull/16809)) - Add writebarrier for Array#reverse by jhawthorn ([#&#8203;17944](https://github.com/ruby/ruby/pull/17944)) - Fix bignum power_cache across Ractors (used by big2str/str2big) by luke-gruber ([#&#8203;18094](https://github.com/ruby/ruby/pull/18094)) - Marshal.load: Fix buffer overflow at overread of string body by hsbt ([#&#8203;18368](https://github.com/ruby/ruby/pull/18368)) - Check struct size when a user class relabels a loaded struct by hsbt ([#&#8203;18657](https://github.com/ruby/ruby/pull/18657)) - Fix out-of-bounds in Array#permutation when array modified by peterzhu2118 ([#&#8203;18951](https://github.com/ruby/ruby/pull/18951)) - Fix use-after-free in Time.new when string modified by peterzhu2118 ([#&#8203;18956](https://github.com/ruby/ruby/pull/18956)) - Fix use-after-free in Marshal.dump by peterzhu2118 ([#&#8203;18974](https://github.com/ruby/ruby/pull/18974)) - Fix out-of-bounds crash in Array#repeated_permutation by peterzhu2118 ([#&#8203;19095](https://github.com/ruby/ruby/pull/19095)) - Add a more defensive GC guard in `Set#&` by nobu ([#&#8203;19166](https://github.com/ruby/ruby/pull/19166), follow-up of [Bug #&#8203;22388](https://bugs.ruby-lang.org/issues/22388)) - Do not embed arrays that will overflow length bits by peterzhu2118 ([#&#8203;19193](https://github.com/ruby/ruby/pull/19193)) - Do not parse past an empty string in `rb_int_parse_cstr` by fuzzyrichie ([#&#8203;19656](https://github.com/ruby/ruby/pull/19656); the pull request is titled after `MatchData#integer_at`, which does not exist in Ruby 4.0) - Early return from `ary_sample` if the sampling number is 0 by nobu ([#&#8203;19673](https://github.com/ruby/ruby/pull/19673)) - Fix the digit count of rb_int_parse_cstr for all-zero input by mame ([#&#8203;19698](https://github.com/ruby/ruby/pull/19698)) - Fix UAF in marshall.c by eightbitraptor ([#&#8203;19733](https://github.com/ruby/ruby/pull/19733)) - Check reentry after comparison conversion by nobu ([#&#8203;19753](https://github.com/ruby/ruby/pull/19753)) - Fix signed integer overflow in rb_range_component_beg_len by gotoken ([#&#8203;19824](https://github.com/ruby/ruby/pull/19824)) - Fix TOCTOU in Array#pop when array frozen in to_int by peterzhu2118 ([#&#8203;19935](https://github.com/ruby/ruby/pull/19935)) ##### IO, File, Process and Socket - Socket.tcp_with_fast_fallback('example.com', 80, '127.0.0.1') fails with unknown socket domain: ipv4 (SocketError) ([Bug #&#8203;21512](https://bugs.ruby-lang.org/issues/21512), [#&#8203;19363](https://github.com/ruby/ruby/pull/19363)) - `IO#external_encoding` / `IO#internal_encoding` segfault on an uninitialized IO ([Bug #&#8203;22410](https://bugs.ruby-lang.org/issues/22410), [#&#8203;19252](https://github.com/ruby/ruby/pull/19252)) - IO#sysread and IO#pread are inconsistent for length 0 and negative numbers; only the check for a negative length with a buffer argument is backported ([Bug #&#8203;22433](https://bugs.ruby-lang.org/issues/22433), [#&#8203;19323](https://github.com/ruby/ruby/pull/19323)) - IO#readpartial can raise EFAULT during GC.compact in another thread ([Bug #&#8203;22467](https://bugs.ruby-lang.org/issues/22467), [#&#8203;19515](https://github.com/ruby/ruby/pull/19515)) - File.realdirpath returns a wrong path when GC runs while it resolves a relative symlink ([Bug #&#8203;22479](https://bugs.ruby-lang.org/issues/22479), [#&#8203;19573](https://github.com/ruby/ruby/pull/19573)) - `IO#gets(nil, limit)` stops right after a 0xFF byte ([Bug #&#8203;22537](https://bugs.ruby-lang.org/issues/22537), [#&#8203;19941](https://github.com/ruby/ruby/pull/19941)) - Process.spawn leaves the env, umask, and redirections applied in the parent on Windows when chdir: fails ([Bug #&#8203;22540](https://bugs.ruby-lang.org/issues/22540), [#&#8203;19893](https://github.com/ruby/ruby/pull/19893)) - Fix: Do not fast_fallback if local_port is explicitly specified by shioimm ([#&#8203;15732](https://github.com/ruby/ruby/pull/15732)) - Ensure safe handling of hexdump width. by ioquatix ([#&#8203;16593](https://github.com/ruby/ruby/pull/16593)) - Fix IO::Buffer#each_byte bounds check by afurm ([#&#8203;16823](https://github.com/ruby/ruby/pull/16823)) - `rb_fiber_scheduler_blocking_operation_wait` can garbage collect `blocking_operation` incorrectly. by samuel-williams-shopify ([#&#8203;16908](https://github.com/ruby/ruby/pull/16908)) - Dump FreeBSD socket credential data wholely by nobu ([#&#8203;17214](https://github.com/ruby/ruby/pull/17214)) - io.c: use a write barrier when storing IO#timeout= by ko1 ([#&#8203;17670](https://github.com/ruby/ruby/pull/17670)) - Fix connection attempt fd handling in TCPSocket.new fast fallback by hsbt ([#&#8203;18840](https://github.com/ruby/ruby/pull/18840)) - Synchronize fast fallback cleanup with resolver threads by hsbt ([#&#8203;18844](https://github.com/ruby/ruby/pull/18844)) - Fix resolver error handling in `TCPSocket.new` fast fallback by hsbt ([#&#8203;18846](https://github.com/ruby/ruby/pull/18846)) - Keep stdin open when TCPSocket.new rejects open_timeout by hsbt ([#&#8203;19523](https://github.com/ruby/ruby/pull/19523)) - Fix fill_cbuf putting back more bytes than the current rbuf fill holds by mame ([#&#8203;19565](https://github.com/ruby/ruby/pull/19565)) - Lock the buffer in IO.copy_stream fallback reads by rhenium ([#&#8203;19618](https://github.com/ruby/ruby/pull/19618)) - Skip whitespace in rb_memory_view_parse_item_format fill pass by fuzzyrichie ([#&#8203;19807](https://github.com/ruby/ruby/pull/19807)) - Fix thread leaks in `Socket.tcp_with_fast_fallback` by nobu ([c091c186e4](https://github.com/ruby/ruby/commit/c091c186e425b659f7aa88ffeac20a41a27b0582), backported in [#&#8203;19810](https://github.com/ruby/ruby/pull/19810)) ##### VM, GC, Thread and Ractor - `Thread#raise` and `Fiber#raise` can set VM throw data as `Exception#cause`, causing a crash. ([Bug #&#8203;22541](https://bugs.ruby-lang.org/issues/22541), [Bug #&#8203;19593](https://bugs.ruby-lang.org/issues/19593), [#&#8203;19861](https://github.com/ruby/ruby/pull/19861)) - ruby-prof breaks on 4.0.1 ([Bug #&#8203;21854](https://bugs.ruby-lang.org/issues/21854), [#&#8203;16002](https://github.com/ruby/ruby/pull/16002)) - ruby-head builds have been failing on aarch64-linux CI in ruby/ruby-dev-builder ([Bug #&#8203;22261](https://bugs.ruby-lang.org/issues/22261), [#&#8203;18495](https://github.com/ruby/ruby/pull/18495)) - Hang on GC.compact ([Bug #&#8203;22389](https://bugs.ruby-lang.org/issues/22389), [#&#8203;19118](https://github.com/ruby/ruby/pull/19118)) - ASan UAF and Assertion Failed: gc_validate_pc:CFP_PC(cfp) >= iseq_encoded: PC not set when allocating, breaking tracing ([Bug #&#8203;22409](https://bugs.ruby-lang.org/issues/22409), [#&#8203;19250](https://github.com/ruby/ruby/pull/19250)) - Assertion Failed: vm_ep_in_heap_p\_:env->ep == ep ([Bug #&#8203;22412](https://bugs.ruby-lang.org/issues/22412), [#&#8203;19251](https://github.com/ruby/ruby/pull/19251)) - Array#zip with a method_missing-based argument leaks a stale block handler (segfault when the next C-called method yields) ([Bug #&#8203;22436](https://bugs.ruby-lang.org/issues/22436), [#&#8203;19337](https://github.com/ruby/ruby/pull/19337)) - Thread#name= on a terminated thread may dump core ([Bug #&#8203;22471](https://bugs.ruby-lang.org/issues/22471), [#&#8203;19520](https://github.com/ruby/ruby/pull/19520)) - rb_profile_frames() called from a signal handler segfaults while vm_make_env_each() is escaping a chain of frames ([Bug #&#8203;22476](https://bugs.ruby-lang.org/issues/22476), [#&#8203;19559](https://github.com/ruby/ruby/pull/19559)) - rb_ec_clear_vm_stack() can still clear the VM stack before ec->cfp = NULL on aarch64 ([Bug #&#8203;22477](https://bugs.ruby-lang.org/issues/22477), [#&#8203;19561](https://github.com/ruby/ruby/pull/19561)) - Proc#== does not return true for the same lexical code block ([Bug #&#8203;22498](https://bugs.ruby-lang.org/issues/22498), [#&#8203;19696](https://github.com/ruby/ruby/pull/19696)) - Keyword arguments can be freed during argument setup when a method has more than 31 keywords ([Bug #&#8203;22500](https://bugs.ruby-lang.org/issues/22500), [#&#8203;19679](https://github.com/ruby/ruby/pull/19679)) - Empty keyword hash mishandled when calling a Method proc through the C API ([Bug #&#8203;22504](https://bugs.ruby-lang.org/issues/22504), [#&#8203;19607](https://github.com/ruby/ruby/pull/19607)) - Please backport [`ee90e8e`](https://github.com/ruby/ruby/commit/ee90e8e380) (concurrent set size overcount) to 4.0: fstring table keeps doubling in long-running apps ([Bug #&#8203;22511](https://bugs.ruby-lang.org/issues/22511), [#&#8203;16701](https://github.com/ruby/ruby/pull/16701)) - Release mode segfault due to half-initialized error in singleton_method ([Bug #&#8203;22535](https://bugs.ruby-lang.org/issues/22535), [#&#8203;19839](https://github.com/ruby/ruby/pull/19839)) - Segfault when several Ractors call Kernel#class or #frozen? on objects of many classes ([Bug #&#8203;22553](https://bugs.ruby-lang.org/issues/22553), [#&#8203;19925](https://github.com/ruby/ruby/pull/19925)) - Speedup repeated calls to `rb_gccct_clear_table` by byroot ([#&#8203;16398](https://github.com/ruby/ruby/pull/16398)) - Fix data race on heap_pages.sorted in rb_gc_register_mark_object by ko1 ([#&#8203;17300](https://github.com/ruby/ruby/pull/17300)) - Keep curry's argument array alive across the inner call by ko1 ([#&#8203;17349](https://github.com/ruby/ruby/pull/17349)) - ractor: guard the port VALUE across receive/send by ko1 ([#&#8203;17849](https://github.com/ruby/ruby/pull/17849)) - Part of “Fix for String without terminators” by nobu ([#&#8203;17882](https://github.com/ruby/ruby/pull/17882)): - Search NameError messages within string bounds - Bound the hostname terminator search - Bound backtrace output strings - id_table.c: keep managed id table live across foreach/dup callbacks by ko1 ([#&#8203;18117](https://github.com/ruby/ruby/pull/18117)) - Raise instead of crashing when a non-T_DATA object is not shareable by ko1 ([#&#8203;18174](https://github.com/ruby/ruby/pull/18174)) - coroutine: do not write to the target after switching away by ko1 ([#&#8203;18354](https://github.com/ruby/ruby/pull/18354)) - Honor the buffer size in Darwin `backtrace` by nobu ([#&#8203;19033](https://github.com/ruby/ruby/pull/19033)) - Part of “Keep embedded TypedData pinned while their data is in use” by shugo ([#&#8203;19144](https://github.com/ruby/ruby/pull/19144)): - Keep a managed id table pinned while inserting into it - Keep a lazy enumerator's proc entry pinned while its block runs - Fix out-of-bound access of empty rest arguments array by nobu ([#&#8203;19387](https://github.com/ruby/ruby/pull/19387)) - Make blockparamproxy shareable by luke-gruber ([#&#8203;19740](https://github.com/ruby/ruby/pull/19740)) - Fix crash/hang sending to the main Ractor after fork by jhawthorn ([#&#8203;19840](https://github.com/ruby/ruby/pull/19840)) - Fix concurrent_set delete missing keys past an in-progress insert by jhawthorn ([#&#8203;19903](https://github.com/ruby/ruby/pull/19903)) - Fix off-by-one in rb_internal_thread_specific_key_create by jhawthorn ([#&#8203;19967](https://github.com/ruby/ruby/pull/19967)) - Fix buffer overflow in Proc#== when no env by peterzhu2118 ([#&#8203;19978](https://github.com/ruby/ruby/pull/19978)) ##### Parser and compiler - Cannot inspect RubyVM::AST for CDECL ([Bug #&#8203;21974](https://bugs.ruby-lang.org/issues/21974), [#&#8203;16642](https://github.com/ruby/ruby/pull/16642)) - Jump value attaches block in incorrect place under parse.y ([Bug #&#8203;22450](https://bugs.ruby-lang.org/issues/22450), [#&#8203;19411](https://github.com/ruby/ruby/pull/19411)) - Class#new shouldn't call refined initialize methods ([Bug #&#8203;22539](https://bugs.ruby-lang.org/issues/22539), [#&#8203;19857](https://github.com/ruby/ruby/pull/19857)) - Segmentation fault when compiling `CONST ||= value`, `CONST &&= value` or `CONST += value` under `# shareable_constant_value: literal` (Prism compiler) ([Bug #&#8203;22543](https://bugs.ruby-lang.org/issues/22543), [#&#8203;19892](https://github.com/ruby/ruby/pull/19892)) - Clarify `&&=` and `||=` on multi-line ([Bug #&#8203;22556](https://bugs.ruby-lang.org/issues/22556), [#&#8203;19943](https://github.com/ruby/ruby/pull/19943)) - parse.y segmentation fault parsing malformed nested case ([Bug #&#8203;22557](https://bugs.ruby-lang.org/issues/22557), [#&#8203;19963](https://github.com/ruby/ruby/pull/19963)) - parse.y hits UNREACHABLE_RETURN(0) after compile_error in rb_parser_enc_cr_str_buf_cat ([Bug #&#8203;22560](https://bugs.ruby-lang.org/issues/22560), [#&#8203;19936](https://github.com/ruby/ruby/pull/19936)) - Regexp named capture names with invalid source encoding ([Bug #&#8203;22597](https://bugs.ruby-lang.org/issues/22597), [#&#8203;19981](https://github.com/ruby/ruby/pull/19981)) - parse.y rejects valid retry after a class / class << self definition inside rescue (`Invalid retry after ensure`) ([Bug #&#8203;22599](https://bugs.ruby-lang.org/issues/22599), [#&#8203;19984](https://github.com/ruby/ruby/pull/19984)) - Add potential missing GC guard in iseq_data_to_ary by peterzhu2118 ([#&#8203;15810](https://github.com/ruby/ruby/pull/15810)) - Fixed the error message for `ibf_load_builtin` by nobu ([#&#8203;16723](https://github.com/ruby/ruby/pull/16723)) - Update mark bits as we go in ibf load by jhawthorn ([#&#8203;16787](https://github.com/ruby/ruby/pull/16787)) - compile.c: reject negative object index in the IBF loader (pinned_list_store / pinned_list_fetch) by Gengyskan ([#&#8203;17452](https://github.com/ruby/ruby/pull/17452)) - iseq: use RB_OBJ_WRITE for the lazy-load loader object by ko1 ([#&#8203;17658](https://github.com/ruby/ruby/pull/17658)) - Fix data race in rb_iseq_original_iseq by shugo ([#&#8203;17923](https://github.com/ruby/ruby/pull/17923)) - Keep room in the token buffer for the terminator by shugo ([#&#8203;17980](https://github.com/ruby/ruby/pull/17980)) - compile.c: pass the new operand ci to the write barrier, not the INSN by ko1 ([#&#8203;18172](https://github.com/ruby/ruby/pull/18172)) - Fix reference update bug in iseq_scan_bits by peterzhu2118 ([#&#8203;18527](https://github.com/ruby/ruby/pull/18527)) - Saturate parser columns at INT_MAX by hsbt ([#&#8203;19314](https://github.com/ruby/ruby/pull/19314)) - Set dummy ID when broken numeric by nobu ([#&#8203;19512](https://github.com/ruby/ruby/pull/19512)) ##### YJIT and ZJIT - `--enable=zjit` does not enable ZJIT ([Bug #&#8203;22427](https://bugs.ruby-lang.org/issues/22427), [#&#8203;19307](https://github.com/ruby/ruby/pull/19307)) - YJIT: gen_struct_aset check for frozen status by byroot ([#&#8203;15722](https://github.com/ruby/ruby/pull/15722)) - YJIT: Add frozen guard for struct aset by tekknolagi ([#&#8203;15835](https://github.com/ruby/ruby/pull/15835)) - YJIT: Unlink failed batch blocks from the graph by sam-harri ([#&#8203;19372](https://github.com/ruby/ruby/pull/19372)) - YJIT: Fall back for explicit keywords in IFUNC block calls by thomasklemm ([#&#8203;19554](https://github.com/ruby/ruby/pull/19554)) - YJIT: A64: Load the absolute address for far jumps in emit_jmp_ptr by hsbt ([#&#8203;19718](https://github.com/ruby/ruby/pull/19718)) - JIT: Reject --{y,z}jit-exec-mem-size values that overflow the u32 reservation size by st0012 ([#&#8203;19720](https://github.com/ruby/ruby/pull/19720)) - YJIT: Pass the stack address to the variable-length splat guard by k0kubun ([#&#8203;19933](https://github.com/ruby/ruby/pull/19933)) ##### Windows - win32: Fix a double free and a stack over-read in path handling by hsbt ([#&#8203;18028](https://github.com/ruby/ruby/pull/18028)) - Part of “Win32: harden path and time handlings” by nobu ([#&#8203;19100](https://github.com/ruby/ruby/pull/19100)): - win32: Handle an empty system temporary path - win32: Harden AF_UNIX socketpair path handling - mswin: Define STACK_GROW_DIRECTION on arm64 too by hsbt ([#&#8203;19149](https://github.com/ruby/ruby/pull/19149)) - win32: Wait for the cancelled pipe I/O before returning by hsbt ([#&#8203;19522](https://github.com/ruby/ruby/pull/19522)) - Keep the getenv result per thread on Windows by hsbt ([#&#8203;19702](https://github.com/ruby/ruby/pull/19702)) ##### Default gems - Update the default gem json from 2.18.0 to 2.18.3, which includes the fix for CVE-2026-33210 ([Bug #&#8203;22258](https://bugs.ruby-lang.org/issues/22258), [#&#8203;19647](https://github.com/ruby/ruby/pull/19647), [#&#8203;19882](https://github.com/ruby/ruby/pull/19882)) ##### Build, installation and tests - Run tests that require callcc by hsbt ([#&#8203;19687](https://github.com/ruby/ruby/pull/19687), related to [Bug #&#8203;20655](https://bugs.ruby-lang.org/issues/20655)) - `require "strscan"` no longer activates the default gem, so a newer installed strscan is ignored and later loaded twice ([Bug #&#8203;22420](https://bugs.ruby-lang.org/issues/22420), [#&#8203;19275](https://github.com/ruby/ruby/pull/19275)) - Ruby's release tarballs are not POSIX compliant since 2018 ([Bug #&#8203;22480](https://bugs.ruby-lang.org/issues/22480), [#&#8203;19576](https://github.com/ruby/ruby/pull/19576)) - test/ruby/test_io.rb: do not set RLIMIT_NPROC by rhenium ([#&#8203;17147](https://github.com/ruby/ruby/pull/17147)) - test/ruby/test_process.rb: simplify testing spawn with long strings by rhenium ([#&#8203;17148](https://github.com/ruby/ruby/pull/17148)) - Socket#connect spec: handle `EHOSTUNREACH` by byroot ([#&#8203;19828](https://github.com/ruby/ruby/pull/19828)) - mswin: Work around an internal compiler error on ARM64 by hsbt ([#&#8203;19917](https://github.com/ruby/ruby/pull/19917)) #### Full Changelog </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMTkuMSIsInVwZGF0ZWRJblZlciI6IjQ1LjEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0by1tZXJnZSJdfQ==-->
chore(deps): update dependency ruby to v4.0.10
Some checks failed
renovate/stability-days Updates have met minimum release age requirement
CI / Quality / Brakeman (pull_request) Successful in 5m49s
CI / Quality / Bundler Audit (pull_request) Failing after 5m56s
CI / Quality / RuboCop (pull_request) Successful in 5m54s
CI / Quality (pull_request) Failing after 0s
CI / Tests / Unit (pull_request) Successful in 10m6s
CI / Tests / System (pull_request) Successful in 10m4s
CI / Tests / Coverage (pull_request) Successful in 5m8s
CI / Tests (pull_request) Successful in 0s
CI / Container / Build and push (pull_request) Has been skipped
CI / Container (pull_request) Failing after 0s
CI / Deploy (pull_request) Has been skipped
PR Triage / Triage pull request-1 (pull_request) Successful in 4s
PR Triage / Triage pull request (pull_request) Successful in 0s
7658523c7b
forgejo-bot scheduled this pull request to auto merge when all checks succeed 2026-11-22 00:13:23 +00:00

📊 Coverage

Metrik Abdeckung
Zeilen 98.04% (2695/2749)
Branches 82.67% (668/808)
Methoden 98.65% (438/444)

Patch-Coverage: keine getrackten Zeilen geändert

Schwächste Dateien im Projekt

Datei Abdeckung
app/components/form/select.rb 72.41%
app/components/layout/notification.rb 80.95%
app/components/concerns/actionable.rb 86.67%
app/components/layout/sidebar.rb 89.47%
app/components/concerns/inferrable.rb 90.63%
app/models/concerns/has_uuid_v7.rb 90.91%
app/components/users/avatar.rb 91.23%
app/controllers/settings/security/otps_controller.rb 91.67%
app/components/base.rb 92.16%
app/controllers/settings/security/passkeys_controller.rb 92.31%

🔍 Report im Browser ansehen · 📄 Run-Artifact „coverage-report“

<!-- coverage-report --> ## 📊 Coverage | Metrik | Abdeckung | |---|---| | Zeilen | 98.04% (2695/2749) | | Branches | 82.67% (668/808) | | Methoden | 98.65% (438/444) | **Patch-Coverage**: keine getrackten Zeilen geändert **Schwächste Dateien im Projekt** | Datei | Abdeckung | |---|---| | app/components/form/select.rb | 72.41% | | app/components/layout/notification.rb | 80.95% | | app/components/concerns/actionable.rb | 86.67% | | app/components/layout/sidebar.rb | 89.47% | | app/components/concerns/inferrable.rb | 90.63% | | app/models/concerns/has_uuid_v7.rb | 90.91% | | app/components/users/avatar.rb | 91.23% | | app/controllers/settings/security/otps_controller.rb | 91.67% | | app/components/base.rb | 92.16% | | app/controllers/settings/security/passkeys_controller.rb | 92.31% | [🔍 Report im Browser ansehen]() · [📄 Run-Artifact „coverage-report“](https://code.hoppe-dev.eu/hobbypunk/rails-base_app/actions/runs/4347/artifacts/coverage-report)
forgejo-bot canceled auto merging this pull request when all checks succeed 2026-11-27 09:31:52 +00:00
forgejo-bot scheduled this pull request to auto merge when all checks succeed 2026-11-27 09:31:52 +00:00
Some checks failed
renovate/stability-days Updates have met minimum release age requirement
CI / Quality / Brakeman (pull_request) Successful in 5m49s
Required
Details
CI / Quality / Bundler Audit (pull_request) Failing after 5m56s
Required
Details
CI / Quality / RuboCop (pull_request) Successful in 5m54s
Required
Details
CI / Quality (pull_request) Failing after 0s
CI / Tests / Unit (pull_request) Successful in 10m6s
Required
Details
CI / Tests / System (pull_request) Successful in 10m4s
Required
Details
CI / Tests / Coverage (pull_request) Successful in 5m8s
Required
Details
CI / Tests (pull_request) Successful in 0s
CI / Container / Build and push (pull_request) Has been skipped
CI / Container (pull_request) Failing after 0s
CI / Deploy (pull_request) Has been skipped
PR Triage / Triage pull request-1 (pull_request) Successful in 4s
PR Triage / Triage pull request (pull_request) Successful in 0s
Some required checks were not successful.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'renovate/ruby-version:renovate/ruby-version'
git switch 'renovate/ruby-version'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
hobbypunk/rails-base_app!202
No description provided.