Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
FFI: Fix various issues in recff_cdata_arith. Thanks to Sergey Kaplun. (cherry picked from commit 7a608e442) The aforementioned function doesn't handle gentle recording of the cdata addition to `nil` or some string, presuming that the interpreter will throw an error. This may lead to an assertion due to an uninitialized ctype state or an attempt to use in the fold engine the non-cdata summand (casted to `IR_KPTR`) as the (invalid) GC pointer. This patch handles such cases by: * Initializing the ctype state where it is needed. * Raising an error when the argument has a suspicious type. Since the interpreter will throw the error anyway, these traces will abort anyway. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#10199
5686 of 6027 branches covered (94.34%)
Branch coverage included in aggregate %.
5 of 6 new or added lines in 1 file covered. (83.33%)
10 existing lines in 5 files now uncovered.21677 of 23431 relevant lines covered (92.51%)
2942941.6 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
87.66 |
-0.05% | src/lj_crecord.c |
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
96.15 |
-0.05% | src/lj_record.c |
1 |
78.1 |
0.08% | src/lj_opt_fold.c |
1 |
87.66 |
-0.05% | src/lj_crecord.c |
3 |
93.42 |
-0.66% | src/lj_ir.c |
4 |
94.74 |
-2.87% | src/lj_str.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 11361397555.1 | 89 |
92.89 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|