|
Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
README BADGES
|
push
github
Fix edge cases when recording string.byte/sub. Thanks to Sergey Kaplun. (cherry picked from commit 89f268b3f) It is possible that the `len` (`end - start`) will underflow and become positive in the `recff_string_range()` when the `end` is negative. For `string.sub()` this is not crucial, since the trace will be valid anyway. But for `string.byte()` it may lead to the assertion failure in the `rec_check_slots()`. This patch fixes those underflows by the correct comparison. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#12134 Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org>
5709 of 6046 branches covered (94.43%)
Branch coverage included in aggregate %.
3 of 3 new or added lines in 1 file covered. (100.0%)
20 existing lines in 1 file now uncovered.21785 of 23516 relevant lines covered (92.64%)
3886033.28 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 20 |
76.88 |
-1.72% | src/lj_opt_fold.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 22904062719.1 | 89 |
93.0 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|