|
Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
README BADGES
|
push
github
Prevent false positive sanitizer warning in unpack(). Reported by Sergey Bronnikov. (cherry picked from commit f322ecb51) The UndefinedBehaviour sanitizer produces a runtime warning when INT_MAX is passed to `unpack()` as index `i`. This happens because `i` in lj_cf_unpack() was incremented before the checking loop invariant and this leads to a signed integer overflow. The patch fixes the issue by moving index incrementation in the separate statement from the loop invariant check. Sergey Bronnikov: * added the description and the test for the problem Part of tarantool/tarantool#12134 Reviewed-by: Sergey Kaplun <skaplun@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org> (cherry picked from commit e1d994409)
5718 of 6055 branches covered (94.43%)
Branch coverage included in aggregate %.
3 of 3 new or added lines in 1 file covered. (100.0%)
23 existing lines in 5 files now uncovered.21824 of 23546 relevant lines covered (92.69%)
3859483.31 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 8 |
77.58 |
0.0% | src/lj_opt_fold.c |
| 6 |
88.69 |
-0.5% | src/lj_crecord.c |
| 6 |
94.74 |
-4.31% | src/lj_str.c |
| 2 |
91.11 |
-0.32% | src/lj_alloc.c |
| 1 |
96.66 |
-0.05% | src/lj_record.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 23790075798.1 | 89 |
93.04 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|