[#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: [ ruby-Bugs-5884 ] Dir.chroot and '/'

From: Yukihiro Matsumoto <matz@...>
Date: 2006-09-25 05:55:30 UTC
List: ruby-core #8921
Hi,

In message "Re: [ ruby-Bugs-5884 ] Dir.chroot and '/'"
    on Mon, 25 Sep 2006 14:27:43 +0900, "Nobuyoshi Nakada" <nobu@ruby-lang.org> writes:

|Thank you for the report.  Dir.mkdir("/") also raises ENOENT instead of
|EEXIST.
|
|> I don't particularly understand why we need the check_dirname() call
|> there at all, except perhaps for the rb_secure() call.
|
|To drop extraneous directory separators if exist.

Can you commit the fix?

							matz.

In This Thread

Prev Next