Skip to content
  • nagachika's avatar
    eba3f787
    merge revision(s) 837ef891: [Backport #19305] · eba3f787
    nagachika authored
    	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(-)
    eba3f787
    merge revision(s) 837ef891: [Backport #19305]
    nagachika authored
    	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(-)
Loading