[ruby-core:127137] [Ruby Bug#22449] Out-of-bounds in `Array#sample` when array modified
16 Oct
2026
16 Oct
'26
5:36 a.m.
Issue #22449 has been reported by nobu (Nobuyoshi Nakada). ---------------------------------------- Bug #22449: Out-of-bounds in `Array#sample` when array modified https://bugs.ruby-lang.org/issues/22449 * Author: nobu (Nobuyoshi Nakada) * Status: Open * Backport: 3.3: REQUIRED, 3.4: REQUIRED, 4.0: REQUIRED ---------------------------------------- Backports required: [GH-18879] and [GH-19047] Also cases where array modified within the `rand` method. [GH-18879]: https://github.com/ruby/ruby/pull/18879 [GH-19047]: https://github.com/ruby/ruby/pull/19047 -- https://bugs.ruby-lang.org/
7
Age (days ago)
7
Last active (days ago)
0 comments
1 participants
participants (1)
-
nobu (Nobuyoshi Nakada)