[#8815] Segfault in libc strlen, via rb_str_new2 — "Sean E. Russell" <ser@...>

Howdy,

12 messages 2006/09/09
[#8817] Re: Segfault in libc strlen, via rb_str_new2 — Eric Hodel <drbrain@...7.net> 2006/09/09

On Sep 8, 2006, at 10:10 PM, Sean E. Russell wrote:

Re: [BUG] 1.8 CVS regressions

From: ville.mattila@...
Date: 2006-09-30 04:32:52 UTC
List: ruby-core #8967
"Kent Sibilev" <ksruby@gmail.com> wrote on 29.09.2006 23:27:33:

> Can you try to apply this patch?
> 
> http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/8922
> 
  Yes, this patch fixes the 
Mon Sep 25 08:14:43 2006  Yukihiro Matsumoto  <matz@ruby-lang.org>

        * array.c (rb_ary_shift): should clear shifting top element.
          [ruby-talk:216055]

        * array.c (rb_ary_shift): avoid creating shared object if array
          size is small.

caused crashes and failed tests.

 - Ville

In This Thread

Prev Next