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

tarantool / luajit / 7280369395
93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 20 Dec 2023 08:22PM UTC
Jobs 1
Files 89
Run time 8s
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

20 Dec 2023 08:09PM UTC coverage: 88.911% (+0.3%) from 88.567%
7280369395

push

github

igormunkin
FFI: Fix dangling reference to CType in carith_checkarg().

Reported by Sergey Kaplun.

(cherry-picked from commit db944b2b5)

During of an arithmetic operation with a cdata function object and some
cdata value in `carith_checkarg()`, reallocation of `cts->tab` in
`lj_ctype_intern()` may occur. In that case, the reference to the first
`CType` object (`ca->ct[0]`) becomes invalid. This patch saves the
`CTypeID` of this object and gets its `CType` again after possible
reallocation.

Sergey Kaplun:
* added the description and the test for the problem

Part of tarantool/tarantool#9145

Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org>
Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org>
Signed-off-by: Igor Munkin <imun@tarantool.org>

5404 of 5995 branches covered (0.0%)

Branch coverage included in aggregate %.

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

129 existing lines in 9 files now uncovered.

20694 of 23358 relevant lines covered (88.59%)

2751330.22 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.91
-0.18% src/lj_opt_mem.c
1
96.14
-0.11% src/lj_record.c
3
93.13
1.05% src/lj_bcread.c
3
98.65
-0.01% src/lj_lex.c
7
78.92
3.61% src/lib_ffi.c
16
86.45
0.66% src/lib_jit.c
21
65.09
0.34% src/lj_cconv.c
36
75.38
2.57% src/lj_crecord.c
41
83.61
0.0% src/lj_ctype.c
Jobs
ID Job ID Ran Files Coverage
1 7280369395.1 20 Dec 2023 08:22PM UTC 89
88.91
GitHub Action Run
Source Files on build 7280369395
  • Tree
  • List 89
  • Changed 86
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #7280369395
  • 3493258d on github
  • Prev Build on tarantool/master (#7276254962)
  • Next Build on tarantool/master (#7700344789)
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