From: "k0kubun (Takashi Kokubun) via ruby-core" Date: 2026-11-16T17:42:29+00:00 Subject: [ruby-core:127504] [Ruby Bug#22449] Out-of-bounds in `Array#sample` when array modified Issue #22449 has been updated by k0kubun (Takashi Kokubun). Backport changed from 3.3: REQUIRED, 3.4: DONE, 4.0: REQUIRED to 3.3: REQUIRED, 3.4: DONE, 4.0: DONE ruby_4_0 commit:afc3c470a7fba08aba59e951d6d0fc187c0dbbdd merged revision(s) commit:88ffa9a3003c36e5c6001cca33e0bba2fcb37125. ---------------------------------------- Bug #22449: Out-of-bounds in `Array#sample` when array modified https://bugs.ruby-lang.org/issues/22449#change-119973 * Author: nobu (Nobuyoshi Nakada) * Status: Closed * Backport: 3.3: REQUIRED, 3.4: DONE, 4.0: DONE ---------------------------------------- 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/