Bug #4316

Dir.new cause Segmentation Fault if take a long string.

Added by Motohiro KOSAKI about 3 years ago. Updated almost 3 years ago.

[ruby-core:34834]
Status:Closed
Priority:Normal
Assignee:-
Category:core
Target version:1.9.3
ruby -v:ruby 1.9.3dev (2011-01-23 trunk 30640) [i386-mswin32_100] Backport:

Description

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

Associated revisions

Revision 30666
Added by Motohiro KOSAKI about 3 years ago

  • win32/win32.c (wstati64): get rid of too huge alloca(). [Bug #4316]

History

#1 Updated by Motohiro KOSAKI about 3 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r30666.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • win32/win32.c (wstati64): get rid of too huge alloca(). [Bug #4316] =end

Also available in: Atom PDF