Project

General

Profile

ActionsLike0

Bug #4330

closed

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

Added by kosaki (Motohiro KOSAKI) about 14 years ago. Updated almost 14 years ago.

Status:
Closed
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

Like0Actions #1

Updated by kosaki (Motohiro KOSAKI) about 14 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.


ActionsLike0

Also available in: Atom PDF