diff options
| author | NARUSE, Yui <naruse@airemix.jp> | 2023-01-18 20:15:28 +0900 |
|---|---|---|
| committer | NARUSE, Yui <naruse@airemix.jp> | 2023-01-18 20:15:28 +0900 |
| commit | d7fb4629b4058eb86be03760e6b9f1f272e44147 (patch) | |
| tree | d98f0cc3aefc50b87f82341b646a864a01c3573c /test/ruby/test_string.rb | |
| parent | 44a3043d1182acf3147935d9c1564028b5538417 (diff) | |
merge revision(s) 837ef8911c638c3e2bdb6af710de7c1fac7b5f90: [Backport #19305]
Fix crash in TracePoint c_call for removed method
trace_arg->id is the ID of the original method of an aliased method. If
the original method is removed, then the lookup will fail. We should use
trace_arg->called_id instead, which is the ID of the aliased method.
Fixes [Bug #19305]
---
test/ruby/test_settracefunc.rb | 23 +++++++++++++++++++++++
vm_trace.c | 2 +-
2 files changed, 24 insertions(+), 1 deletion(-)
Diffstat (limited to 'test/ruby/test_string.rb')
0 files changed, 0 insertions, 0 deletions
