Bug #4330
IO.popen case Segmentation Fault if take a long string.
Description
=begin
following script cause segmentation fault.
ruby -e 'IO.popen(["c:/ruby/bin/ruby.exe "+"a
"*10_000_000, "hoge"])'
=end
Associated revisions
- win32/win32.c (rb_w32_aspawn): get rid of too huge alloca(). [Bug #4330] [ruby-core:34898]
- win32/win32.c (rb_w32_aspawn): get rid of too huge alloca(). [Bug #4330] [ruby-core:34898]
- win32/win32.c (rb_w32_aspawn): get rid of too huge alloca(). [Bug #4330] [ruby-core:34898]
- win32/win32.c (rb_w32_aspawn): get rid of too huge alloca(). [Bug #4330] [ruby-core:34898]
- win32/win32.c (rb_w32_aspawn): get rid of too huge alloca(). [Bug #4330] [ruby-core:34898]
- win32/win32.c (rb_w32_aspawn): get rid of too huge alloca(). [Bug #4330] [ruby-core:34898]
History
Updated by kosaki (Motohiro KOSAKI) almost 9 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 (rb_w32_aspawn): get rid of too huge alloca(). [Bug #4330] [ruby-core:34898] =end
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e