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

tarantool / luajit / 8249042173
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: tarantool/release/2.11
DEFAULT BRANCH: tarantool/master
Ran 12 Mar 2024 12:49PM 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

12 Mar 2024 12:46PM UTC coverage: 92.639% (+0.01%) from 92.629%
8249042173

push

github

ligurio
FFI: Treat cdata finalizer table as a GC root.

Thanks to Sergey Bronnikov.

(cherry picked from commit dda1ac273)

There is a table `CTState->finalizer` that contains cdata finalizers.
This table is created on initialization of the `ffi` module
by calling the functions `luaopen_ffi` and `ffi_finalizer`. In some
circumstances, this table could be collected by GC and then accessed by
the function `lj_gc_finalize_cdata`. This leads to a heap-use-after-free
problem. The patch fixes the problem.

Sergey Bronnikov:
* added the description and the tests for the problem

Part of tarantool/tarantool#9595

5661 of 6017 branches covered (94.08%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

12 existing lines in 5 files now uncovered.

21600 of 23410 relevant lines covered (92.27%)

2815504.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8249042173.1 12 Mar 2024 12:49PM UTC 0
92.64
GitHub Action Run
Source Files on build 8249042173
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #8249042173
  • 9638e676 on github
  • Prev Build on tarantool/master (#8093907727)
  • Next Build on ligurio/lj-1168-heap-use-after-free-on-access-to-CTState-finalizer (#9810946767)
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

© 2026 Coveralls, Inc