diff options
author | nagachika <nagachika@ruby-lang.org> | 2021-11-23 14:19:44 +0900 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2021-11-23 14:52:29 +0900 |
commit | b6f87d527f59257f07ba6774addaefdedee4fcde (patch) | |
tree | 4190f6599a6f560f4a8c9ff0a4e49fd2a7a5ba95 /lib/fileutils.rb | |
parent | 32342c9fcaaf64f5d6b86ea4e041c9331fb381d3 (diff) |
merge revision(s) 84202963c52e02cecad3e6b2fad478bfbeee1bc7: [Backport #18329]
[Bug #18329] Fix crash when calling non-existent super method
The cme is NULL when a method does not exist, so check it before
accessing the callcache.
---
test/ruby/test_super.rb | 31 +++++++++++++++++++++++++++++++
vm_insnhelper.c | 3 ++-
2 files changed, 33 insertions(+), 1 deletion(-)
Diffstat (limited to 'lib/fileutils.rb')
0 files changed, 0 insertions, 0 deletions