[#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: test/unit doesn't rescue a Exception

From: Yukihiro Matsumoto <matz@...>
Date: 2006-09-03 19:59:55 UTC
List: ruby-core #8785
Hi,

In message "Re: test/unit doesn't rescue a Exception"
    on Mon, 4 Sep 2006 04:10:35 +0900, Eric Hodel <drbrain@segment7.net> writes:

|> -        rescue StandardError, ScriptError
|> +        rescue Exception
|> +          raise if [NoMemoryError, SignalException, Interrupt,  
|> SystemExit].include? $!.class
|>            add_error($!)
|>          ensure
|>            begin
|
|I think the same code should be added to the teardown rescue.

Eric, can you commit?  Or should we wait for Nathaniel?

							matz.

In This Thread