Hi,

At Sun, 30 Nov 2003 03:23:51 +0900,
Chad Fowler wrote:
> Hello.  I found a bug in (I believe) string.c which was causing ruby to 
> segfault.  This code should segfault in the current CVS version of ruby 
> (and older versions):
> 
> <code>
> "
> bang".split(/\n/)[0].dup[0,2] = ""
> </code>

Thank you, it can be reproduced by:

  String.allocate[0,2] = ""

It's a yet another just-allocated-String bug.  Fixed just now.

-- 
Nobu Nakada