Skip to content
  • nagachika's avatar
    82d39cb8
    merge revision(s) 6ebcf25d: [Backport #20036] · 82d39cb8
    nagachika authored
    	GC guard catch_table_ary in iseq_set_exception_table
    
    	The function iseq_set_exception_table allocates memory which can cause
    	a GC compaction to run. Since catch_table_ary is not on the stack, it
    	can be moved, which would make tptr incorrect.
    	---
    	 compile.c | 10 +++++++---
    	 1 file changed, 7 insertions(+), 3 deletions(-)
    82d39cb8
    merge revision(s) 6ebcf25d: [Backport #20036]
    nagachika authored
    	GC guard catch_table_ary in iseq_set_exception_table
    
    	The function iseq_set_exception_table allocates memory which can cause
    	a GC compaction to run. Since catch_table_ary is not on the stack, it
    	can be moved, which would make tptr incorrect.
    	---
    	 compile.c | 10 +++++++---
    	 1 file changed, 7 insertions(+), 3 deletions(-)
Loading