From: "nagachika (Tomoyuki Chikanaga) via ruby-core" Date: 2026-11-03T04:52:59+00:00 Subject: [ruby-core:127310] [Ruby Bug#22449] Out-of-bounds in `Array#sample` when array modified Issue #22449 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 3.3: REQUIRED, 3.4: REQUIRED, 4.0: REQUIRED to 3.3: REQUIRED, 3.4: DONE, 4.0: REQUIRED ruby_3_4 commit:aa49c486088e6ad514260fa758e7854741be8797 merged revision(s) commit:88ffa9a3003c36e5c6001cca33e0bba2fcb37125. ---------------------------------------- Bug #22449: Out-of-bounds in `Array#sample` when array modified https://bugs.ruby-lang.org/issues/22449#change-119734 * Author: nobu (Nobuyoshi Nakada) * Status: Closed * Backport: 3.3: REQUIRED, 3.4: DONE, 4.0: REQUIRED ---------------------------------------- Backports required: [GH-18879], [GH-19047], and [GH-19384] [GH-18879]: https://github.com/ruby/ruby/pull/18879 [GH-19047]: https://github.com/ruby/ruby/pull/19047 [GH-19384]: https://github.com/ruby/ruby/pull/19384 -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/