From: Eric Wong <normalperson@yhbt.net>
To: ruby-core@ruby-lang.org
Subject: [ruby-core:38863] Re: [Ruby 1.9 - Bug #5172][Open] [PATCH] bigdecimal: RB_GC_GUARD rb_inspect() output
Date: Tue, 9 Aug 2011 08:51:56 +0900 [thread overview]
Message-ID: <20110808235154.GA744@dcvr.yhbt.net> (raw)
In-Reply-To: <redmine.issue-5172.20110809084652@ruby-lang.org>
Eric Wong <normalperson@yhbt.net> wrote:
> ----------------------------------------
> Bug #5172: [PATCH] bigdecimal: RB_GC_GUARD rb_inspect() output
> http://redmine.ruby-lang.org/issues/5172
If you prefer: git pull git://bogomips.org/ruby bigdecimal-gc-guard
Also, I noticed the following in ext/tk/tkutil/tkutil.c:
rb_warning("fail to convert '%s' to string for Tk",
RSTRING_PTR(rb_funcall(obj, rb_intern("inspect"), 0,
0)));
id = rb_intern(RSTRING_PTR(rb_str_cat2(rb_str_new2("@"), str)));
I don't use or know the Tk ext at all, but the above examples do not
appear safe from a GC perspective.
--
Eric Wong
next prev parent reply other threads:[~2011-08-08 23:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-08 23:46 [ruby-core:38862] [Ruby 1.9 - Bug #5172][Open] [PATCH] bigdecimal: RB_GC_GUARD rb_inspect() output Eric Wong
2011-08-08 23:51 ` Eric Wong [this message]
2011-08-08 23:54 ` [ruby-core:38864] [Ruby 1.9 - Bug #5172] " Kenta Murata
2011-08-17 1:51 ` [ruby-core:38999] " Kenta Murata
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110808235154.GA744@dcvr.yhbt.net \
--to=ruby-core@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).