Project

General

Profile

Actions

Bug #4317

closed

File.stat cause Segmentation Fault if take a long string.

Added by kosaki (Motohiro KOSAKI) almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2011-01-23 trunk 30640) [i386-mswin32_100]
Backport:
[ruby-core:34835]

Description

=begin
following script will crash immediately.

C:\ruby\trunk\build>\ruby\bin\ruby -ve 'File.stat("a"*100_000_000)'
ruby 1.9.3dev (2011-01-23 trunk 30640) [i386-mswin32_100]
=end

Actions #1

Updated by usa (Usaku NAKAMURA) almost 14 years ago

  • Status changed from Open to Closed
  • Assignee set to kosaki (Motohiro KOSAKI)

=begin
fixed at r30666 by himself.
Thank you, kosaki-san.
=end

Actions

Also available in: Atom PDF

Like0
Like0