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

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

Build:
Build:
LAST BUILD BRANCH: skaplun/ci-perf-install-conditionally-lua-cjson
DEFAULT BRANCH: tarantool/master
Ran 12 Mar 2024 12:49PM UTC
Files 89
Run time 3s
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.1

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 %.

21600 of 23410 relevant lines covered (92.27%)

2815504.06 hits per line

Source Files on job 8249042173.1
  • Tree
  • List 0
  • Changed 87
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 8249042173
  • 9638e676 on github
  • Prev Job for on ligurio/lj-1168-heap-use-after-free-on-access-to-CTState-finalizer (#8093907727.1)
  • Next Job for on ligurio/lj-1168-heap-use-after-free-on-access-to-CTState-finalizer (#9810946767.1)
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