From: Roland Mai Date: 2008-07-01T13:07:30+09:00 Subject: Re: Ruby 1.9.0/1.8.7/1.8.6/1.8.5 new releases (Security Fix) Hi, I run Arch and just upgraded to ruby-1.8.7_p22 but it seems the string issue is partially fixed. irb(main):001:0> str = "A"*(2**16); nil => nil irb(main):002:0> while true irb(main):003:1> str << str irb(main):004:1> end (irb):3: [BUG] Segmentation fault ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-linux] Aborted While the following works fine: irb(main):001:0> str = "A"*(2**16); nil => nil irb(main):002:0> while true irb(main):003:1> str = str+str irb(main):004:1> end ArgumentError: negative string size (or size too big) from (irb):3:in `+' from (irb):3 from :0 I have another computer with Ubuntu and ruby 1.8.6 in which both cases worked fine. -- Posted via http://www.ruby-forum.com/.