From: "k0kubun (Takashi Kokubun) via ruby-core" Date: 2026-11-16T17:42:30+00:00 Subject: [ruby-core:127506] [Ruby Bug#22458] `Time#strftime` out-of-bound access Issue #22458 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:46bb61f901482bfeff74408277b6afae6f4d5f8f merged revision(s) commit:5c52c2a37bed5507c1898486cdf7eba736296ed4. ---------------------------------------- Bug #22458: `Time#strftime` out-of-bound access https://bugs.ruby-lang.org/issues/22458#change-119975 * Author: nobu (Nobuyoshi Nakada) * Status: Closed * Backport: 3.3: REQUIRED, 3.4: DONE, 4.0: DONE ---------------------------------------- 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/