Project

General

Profile

Bug #4330

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

Added by kosaki (Motohiro KOSAKI) over 9 years ago. Updated over 9 years ago.

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

Description

=begin
following script cause segmentation fault.

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

Also available in: Atom PDF