From: "nagachika (Tomoyuki Chikanaga) via ruby-core" Date: 2026-11-08T05:08:09+00:00 Subject: [ruby-core:127355] [Ruby Bug#22458] `Time#strftime` out-of-bound access Issue #22458 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:f0300186340a25978e84da77ed2b33a479aef84e merged revision(s) commit:5c52c2a37bed5507c1898486cdf7eba736296ed4. ---------------------------------------- Bug #22458: `Time#strftime` out-of-bound access https://bugs.ruby-lang.org/issues/22458#change-119788 * Author: nobu (Nobuyoshi Nakada) * Status: Closed * Backport: 3.3: REQUIRED, 3.4: DONE, 4.0: REQUIRED ---------------------------------------- This code crashes: ```ruby Time.at(0, in: 0).strftime("%2147483647:::z") ``` -- 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/