diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-17 08:44:26 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-17 08:44:26 +0000 |
commit | f8e0e1647eb80d2b6e84b1ecceaaf86649719a96 (patch) | |
tree | fbb9a6a0dfeb1fc6cd894d6c3eb306489ebb494a /ChangeLog | |
parent | 76b06555d05bbf320e2014762efd310de11f0068 (diff) | |
download | ruby-f8e0e1647eb80d2b6e84b1ecceaaf86649719a96.tar.gz |
* vm_insnhelper.c (vm_call_method): set ci->me to 0 when the
original method of a refined method is undef to avoid SEGV.
* vm_method.c (rb_method_entry_without_refinements): return 0 when
the original method of a refined method is undef to avoid SEGV.
* test/ruby/test_refinement.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +Thu Oct 17 17:43:00 2013 Shugo Maeda <shugo@ruby-lang.org> + + * vm_insnhelper.c (vm_call_method): set ci->me to 0 when the + original method of a refined method is undef to avoid SEGV. + + * vm_method.c (rb_method_entry_without_refinements): return 0 when + the original method of a refined method is undef to avoid SEGV. + + * test/ruby/test_refinement.rb: related test. + Thu Oct 17 17:38:36 2013 Koichi Sasada <ko1@atdot.net> * gc.c, internal.h: rename ruby_xsizefree/realloc to |