Repo Added
|
Files
89
|
Badge
Embed ▾
README BADGES
|
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 (since it isn't marked because it is not accessible from any GC root). 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 turns the finalizer table into a proper GC root. Note, that finalizer table is created on the initialization of the main Lua State instead of loading the FFI library. Sergey Bronnikov: * added the description and the tests for the problem Part of tarantool/tarantool#10199
5673 of 6025 branches covered (94.16%)
Branch coverage included in aggregate %.
26 of 26 new or added lines in 5 files covered. (100.0%)
11 existing lines in 3 files now uncovered.21641 of 23431 relevant lines covered (92.36%)
2952895.67 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|