From: Sean Chittenden Date: 2002-10-14T06:58:54+09:00 Subject: Re: SEVG in bignum.c:505... > your patch was OK, but incomplete. This could help with the > rest. I'm sure there are other places where this could be applied to as well, however my point was that why would: ''.to_i ''.to_s.to_s.strip.to_i those two not SEGV, but the following would? [].to_s.to_s.strip.to_i -e:1: [BUG] Segmentation fault ruby 1.7.3 (2002-09-27) [i386-freebsd4] Abort (core dumped) My concern is that both of our patches are covering up a problem else where. Why does this not break with a string but it does with an array? ::shrug:: I don't know but it seems like a band-aid over a problem that will show up at a later date. Here's a non-strip version of the bug that applies to strings: ''.strip.strip.to_i ''.delete('').delete('').to_i ''.delete('').delete('').to_f -sc -- Sean Chittenden