Ran
|
Jobs
1
|
Files
89
|
Run time
25s
|
Badge
Embed ▾
README BADGES
|
push
github
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
5400 of 5995 branches covered (0.0%)
Branch coverage included in aggregate %.
3 of 3 new or added lines in 1 file covered. (100.0%)
240 existing lines in 15 files now uncovered.20687 of 23358 relevant lines covered (88.56%)
2751138.68 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
92.62 |
-0.06% | src/lj_asm_x86.h |
1 |
75.38 |
0.0% | src/lj_crecord.c |
1 |
99.04 |
1.44% | src/lj_str.c |
7 |
98.84 |
0.0% | src/lj_gc.c |
9 |
66.62 |
4.64% | src/lj_cparse.c |
10 |
95.91 |
-0.17% | src/lj_opt_mem.c |
12 |
88.07 |
3.27% | src/lib_aux.c |
12 |
97.11 |
0.0% | src/lj_snap.c |
13 |
96.4 |
0.47% | src/lj_asm.c |
22 |
87.93 |
5.71% | src/lj_sysprof.c |
22 |
91.96 |
-1.37% | src/luajit.c |
26 |
89.38 |
0.08% | src/lj_err.c |
29 |
76.45 |
1.31% | src/lj_opt_fold.c |
37 |
96.19 |
0.55% | src/lj_record.c |
38 |
71.76 |
0.0% | src/lj_carith.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 7276372139.1 | 89 |
88.87 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|