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 /string.c | |
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 'string.c')
0 files changed, 0 insertions, 0 deletions