[ruby-cvs:57321] ko1:r50172 (trunk): * vm_args.c: protect value stack from calling other methods

ko1 at ruby-lang.org ko1 at ruby-lang.org
Mon Apr 6 16:14:30 JST 2015


ko1	2015-04-06 16:14:28 +0900 (Mon, 06 Apr 2015)

  New Revision: 50172

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50172

  Log:
    * vm_args.c: protect value stack from calling other methods
      during complex parameter setting process (splat, kw, and so on).
      [Bug #11027]
    * vm_core.h: remove rb_thead_t::mark_stack_len.
      With this modification, we don't need to use th->mark_stack_len.
    * test/ruby/test_keyword.rb: add a test.
    * cont.c (cont_capture): catch up this fix.
    * vm.c (rb_thread_mark): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/cont.c
    trunk/test/ruby/test_keyword.rb
    trunk/vm.c
    trunk/vm_args.c
    trunk/vm_core.h


More information about the ruby-cvs mailing list