push
github
FFI: Turn FFI finalizer table into a proper GC root. Reported by Sergey Bronnikov. (cherry picked from commit f5affaa6c) Previous patch fixes the problem partially because the introduced GC root may not exist at the start phase of the GC cycle. In that case, the cdata finalizer table will be collected at the end of the cycle. Access to the cdata finalizer table exhibits heap use after free. The patch is turned the finalizer table into a proper GC root. Sergey Bronnikov: * added the description and the tests for the problem Part of tarantool/tarantool#10199
5674 of 6025 branches covered (94.17%)
Branch coverage included in aggregate %.
26 of 26 new or added lines in 5 files covered. (100.0%)
313 existing lines in 11 files now uncovered.21645 of 23431 relevant lines covered (92.38%)
2955369.02 hits per line