Project

General

Profile

Actions

Bug #22458

closed

`Time#strftime` out-of-bound access

Bug #22458: `Time#strftime` out-of-bound access

Added by nobu (Nobuyoshi Nakada) 2 days ago. Updated 2 days ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:127189]

Description

This code crashes:

Time.at(0, in: 0).strftime("%2147483647:::z")

Updated by nobu (Nobuyoshi Nakada) 2 days ago Actions #1

  • Status changed from Open to Closed

Applied in changeset git|5c52c2a37bed5507c1898486cdf7eba736296ed4.


[Bug #22458] Fix out-of-bound in Time#strftime

Actions

Also available in: PDF Atom