Project

General

Profile

Actions

Bug #4456

closed

Time#strftime で %F 指定子に大きな幅を指定した際の不具合

Added by tadf (tadayoshi funaba) almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
-
Backport:
[ruby-dev:43284]

Description

=begin
$ ruby -e "Time.now.strftime('%100000F')"
-e:1: [BUG] Segmentation fault
ruby 1.9.3dev (2011-03-02) [i686-linux]

-- Control frame information -----------------------------------------------
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :(null)
c:0003 p:0023 s:0006 b:0006 l:000d2c d:00034c EVAL -e:1
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000d2c d:000d2c TOP

-- Ruby level backtrace information ----------------------------------------
-e:1:in `'
Segmentation fault
=end


Files

strftime.patch (530 Bytes) strftime.patch ngoto (Naohisa Goto), 07/15/2011 06:41 PM

Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #4457: Time#strftime で %z 指定子などに大きな幅を指定した際の不具合Closedakr (Akira Tanaka)03/02/2011Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0