Bug #4330

IO.popen case Segmentation Fault if take a long string.

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

[ruby-core:34898]
Status:Closed
Priority:Normal
Assignee:Motohiro KOSAKI
Category:core
Target version:1.9.3
ruby -v:ruby 1.9.3dev (2011-01-27 trunk 30668) [i386-mswin32_100] Backport:

Description

=begin
following script cause segmentation fault.

ruby -e 'IO.popen(["c:/ruby/bin/ruby.exe "+"a
"*10000000, "hoge"])'
=end

Associated revisions

Revision 30670
Added by Motohiro KOSAKI about 3 years ago

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

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 r30670.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


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

Also available in: Atom PDF