[#37050] [Feature #735] Date#inspect — "rubikitch ." <redmine@...>

Feature #735: Date#inspect

14 messages 2008/11/09

[#37075] [Feature #747] /\A/u ignores BOM — Shyouhei Urabe <redmine@...>

Feature #747: /\A/u ignores BOM

14 messages 2008/11/12

[#37161] m17n of irb — "Yugui (Yuki Sonoda)" <yugui@...>

Yuguiです。

35 messages 2008/11/24
[#37183] Re: m17n of irb — keiju@... (keiju ISHITSUKA) 2008/11/25

けいじゅ@いしつかです.

[#37203] Re: m17n of irb — "Yugui (Yuki Sonoda)" <yugui@...> 2008/11/26

keiju ISHITSUKA さんは書きました:

[#37292] Re: m17n of irb — Yukihiro Matsumoto <matz@...> 2008/12/06

まつもと ゆきひろです

[#37293] Re: m17n of irb — "Yugui (Yuki Sonoda)" <yugui@...> 2008/12/07

Yuguiです。

[#37298] Re: m17n of irb — Yukihiro Matsumoto <matz@...> 2008/12/07

まつもと ゆきひろです

[#37210] RSS::Maker.create(version) — "Akinori MUSHA" <knu@...>

 RSS::Maker で、 "2.0" 等の文字列でフィードのフォーマットを渡す

15 messages 2008/11/27

[#37213] Re: [ruby-cvs:27586] Ruby:r20368 (trunk): * ext/bigdecimal/bigdecimal.c (BigDecimal_div2): should return — Tadayoshi Funaba <tadf@...>

> * ext/bigdecimal/bigdecimal.c (BigDecimal_div2): should return

8 messages 2008/11/27

[ruby-dev:37016] [Bug #705] sample/test.rb:1829: [BUG] Segmentation fault

From: pegacorn jp <redmine@...>
Date: 2008-11-03 00:33:54 UTC
List: ruby-dev #37016
チケット #705 が更新されました。 (by pegacorn jp)


r19078 の変更で、
marshal_load が、load_ensure で解放した領域を使用するようになって
ヒープを破壊しています。

    static VALUE
    load_ensure(arg)
        struct load_arg *arg;
    {
        if (!DATA_PTR(arg->wrapper)) return 0;
        st_free_table(arg->symbols);
        st_free_table(arg->data);		/* <-- ここで解放 */
        DATA_PTR(arg->wrapper) = 0;
        arg->wrapper = 0;
        return 0;
    }
    
    static VALUE
    marshal_load(argc, argv)
        int argc;
        VALUE *argv;
    {
        (省略)
        v = rb_ensure(load, (VALUE)&arg, load_ensure, (VALUE)&arg);
        RBASIC(arg.data)->klass = rb_cHash;	/* <-- ここで使用 */
    
        return v;
    }

----------------------------------------
http://redmine.ruby-lang.org/issues/show/705

----------------------------------------
http://redmine.ruby-lang.org

In This Thread