Ran
|
Jobs
1
|
Files
89
|
Run time
9s
|
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
5358 of 5979 branches covered (0.0%)
Branch coverage included in aggregate %.
3 of 3 new or added lines in 1 file covered. (100.0%)
20518 of 23293 relevant lines covered (88.09%)
2761360.6 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
95.64 |
0.05% | src/lj_record.c |
2 |
75.38 |
0.08% | src/lj_crecord.c |
3 |
97.61 |
-1.44% | src/lj_str.c |
6 |
88.38 |
-0.76% | src/lj_ffrecord.c |
7 |
75.14 |
-0.63% | src/lj_opt_fold.c |
38 |
71.76 |
0.0% | src/lj_carith.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 6639342082.1 | 89 |
88.4 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|