Ran
|
Jobs
1
|
Files
89
|
Run time
5s
|
Badge
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
5360 of 5979 branches covered (0.0%)
Branch coverage included in aggregate %.
3 of 3 new or added lines in 1 file covered. (100.0%)
20530 of 23293 relevant lines covered (88.14%)
2760664.26 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
2 |
95.59 |
-0.11% | src/lj_record.c |
3 |
75.29 |
-0.08% | src/lj_crecord.c |
6 |
82.22 |
-2.67% | src/lj_sysprof.c |
38 |
71.76 |
0.0% | src/lj_carith.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 6610386103.1 | 89 |
88.45 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|