Bug #4316: Dir.new cause Segmentation Fault if take a long string.
http://redmine.ruby-lang.org/issues/show/4316

Author: Motohiro KOSAKI
Status: Open, Priority: Normal
Category: core, Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-01-23 trunk 30640) [i386-mswin32_100]

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


----------------------------------------
http://redmine.ruby-lang.org