File.identical? cause Segmentation Fault if take a long string.
Following script crash immediately, But error log doesn't display at all.
ruby -ve 'p File.identical?("a"*100_000_000, "a")'
ruby 1.9.3dev (2011-01-23 trunk 30640) [i386-mswin32_100]
Updated by kosaki (Motohiro KOSAKI) over 9 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r30667.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- file.c (w32_io_info): get rid of too huge alloca(). [Bug #4313] [ruby-core:34830] =end