[bug] [yaml] YAML.load([1,2,3].to_yaml.to_yaml)

From: Jeff Mitchell <quixoticsycophant@...>
Date: 2004-05-20 10:20:22 UTC
List: ruby-core #2913
A bit contrived,

arda:~> irb -r yaml
irb(main):001:0> YAML.load([1,2,3].to_yaml.to_yaml)
/usr/local/stow/ruby-cvs/lib/ruby/1.9/yaml.rb:119: [BUG] Segmentation fault
ruby 1.9.0 (2004-05-20) [i686-linux]

Abort
arda:~> irb -r yaml
irb(main):001:0> YAML.load({1=>2,3=>4}.to_yaml.to_yaml)
/usr/local/stow/ruby-cvs/lib/ruby/1.9/yaml.rb:119: [BUG] Segmentation fault
ruby 1.9.0 (2004-05-20) [i686-linux]

Abort



	
		
__________________________________
Do you Yahoo!?
Yahoo! Domains Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 

In This Thread

Prev Next