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

tarantool / tarantool / 5888324645
85%
master: 88%

Build:
Build:
LAST BUILD BRANCH: mk-index-mvcc-support
DEFAULT BRANCH: master
Ran 17 Aug 2023 08:22AM UTC
Jobs 1
Files 459
Run time 13s
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

17 Aug 2023 08:02AM UTC coverage: 85.228% (+0.008%) from 85.22%
5888324645

push

github

locker
lua: fix heap-use-after-free bug in tuple format constructor

Runtime tuple formats are reusable, which means that a tuple format
returned by runtime_tuple_format_new may not be brand new, but actually
be used by a Lua object. As a result, if we call any function that may
trigger Lua GC between runtime_tuple_format_new and tuple_format_ref,
the tuple format may be deleted, leading to a use-after-free bug. This
is what happens in lbox_tuple_format_new. Fix this issue by taking a
reference to the format before pushing a cdata object to the Lua stack
in lbox_push_tuple_format.

The issue was fixed in the master branch by commit 28ec245d0a7e ("lua:
fix heap-use-after-free bug in tuple format constructor"). This isn't
a clean cherry-pick because the code changed quite a bit.

Closes #8889

NO_DOC=bug fix
NO_TEST=difficult to reproduce, found by ASAN

(cherry picked from commit 4123061bc)

59315 of 108174 branches covered (54.83%)

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

90475 of 106157 relevant lines covered (85.23%)

2493953.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5888324645.1 17 Aug 2023 08:22AM UTC 0
85.23
GitHub Action Run
Source Files on build 5888324645
Detailed source file information is not available for this build.
  • Back to Repo
  • 46b33a7a on github
  • Prev Build on release/2.10 (#5877406287)
  • Next Build on release/2.10 (#5891005244)
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