• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / luajit / 10064541529
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/luajit-performance-tests
DEFAULT BRANCH: tarantool/master
Ran 23 Jul 2024 06:44PM UTC
Jobs 1
Files 89
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Jul 2024 06:27PM UTC coverage: 92.711% (-0.06%) from 92.772%
10064541529

push

github

ligurio
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%)

29 existing lines in 7 files now uncovered.

21636 of 23431 relevant lines covered (92.34%)

2944586.97 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.51
0.0% src/lib_ffi.c
2
91.96
-0.45% src/luajit.c
3
87.63
-0.25% src/lj_crecord.c
3
93.09
-0.99% src/lj_ir.c
4
97.65
0.0% src/lj_state.c
6
99.0
0.0% src/lj_gc.c
10
77.43
-1.01% src/lj_api.c
Jobs
ID Job ID Ran Files Coverage
1 10064541529.1 23 Jul 2024 06:44PM UTC 89
92.71
GitHub Action Run
Source Files on build 10064541529
  • Tree
  • List 89
  • Changed 86
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #10064541529
  • fbe2f617 on github
  • Prev Build on ligurio/lj-1168-heap-use-after-free-on-access-to-CTState-finalizer-nointegration (#9873466312)
  • Next Build on ligurio/lj-1168-heap-use-after-free-on-access-to-CTState-finalizer-nointegration (#10400467713)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc