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

tarantool / luajit / 7280369388
89%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/lj-1026-arm64-invalid-hrefk-offset-check
DEFAULT BRANCH: tarantool/master
Ran 20 Dec 2023 08:20PM CUT
Jobs 1
Files 89
Run time 10s
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 CUT coverage: 88.698% (+0.3%) from 88.439%
7280369388

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>
(cherry picked from commit 3493258db)

5371 of 5976 branches covered (0.0%)

Branch coverage included in aggregate %.

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

131 existing lines in 8 files now uncovered.

20567 of 23267 relevant lines covered (88.4%)

698652.48 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
98.84
-0.33% src/lj_gc.c
3
93.13
1.05% src/lj_bcread.c
3
98.65
-0.01% src/lj_lex.c
9
76.31
3.62% src/lib_ffi.c
16
86.45
0.66% src/lib_jit.c
21
63.51
0.34% src/lj_cconv.c
36
75.38
2.73% src/lj_crecord.c
41
83.61
0.0% src/lj_ctype.c
Jobs
ID Job ID Ran Files Coverage
1 7280369388.1 20 Dec 2023 08:20PM CUT 89
88.7
GitHub Action Run
Source Files on build 7280369388
  • Tree
  • List 89
  • Changed 86
  • Source Changed 0
  • Coverage Changed 13
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/LineBranch HitsBranch Misses
13.79
src/lj_utils_leb128.c132 51 7 44 1542132.0 - 709881 6
61.83
src/lj_clib.c431 101 65 36 2764.0 + 916 14
63.51
src/lj_cconv.c765 + 2389 + 2236 + 3153 - 1526216.0 - 6185686 32
66.62
src/lj_cparse.c1937 1030 683 + 2347 - 2179564.0 - 24447199 95
69.45
src/lj_carith.c433 + 4255 + 3175 + 680 - 3557064.0 - 7973266 + 326
73.62
src/lj_strscan.c537 261 191 70 2602754.0 - 209214102 35
73.74
src/lj_api.c1368 859 628 231 958702.0 - 847175 55
75.38
src/lj_crecord.c1916 + 4930 + 3682 + 27248 - 2496.0 - 5218 + 1046 - 7
76.31
src/lib_ffi.c867 + 1519 + 1393 + 18126 - 1786293.0 - 13778103 + 728 - 6
76.45
src/lj_opt_fold.c2537 977 732 245 31420.0 + 329242 55
Showing 1 to 10 of 89 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 9
  • Next
  • ►
    88.7
    src/
  • Back to Repo
  • Github Actions Build #7280369388
  • b015dabd on github
  • Prev Build on tarantool/release/2.10 (#7276254951)
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