Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
FFI: Fix pragma push stack limit check and throw on overflow. Reported by Sergey Kaplun. (cherry-picked from commit 433d7e8d8) `cp->packstack` is the array of size `CPARSE_MAX_PACKSTACK` (7). Before the patch, `cp->curpack` is checked to be less than `CPARSE_MAX_PACKSTACK`, but then `cp->packstack` is accessed at `cp->curpack + 1`, which is out of bounds, so `cp->curpack` value is overwritten. This patch fixes a condition and also adds the error throw when counter is overflow (instead of rewriting a top `cp->packstack` value). Sergey Kaplun: * added the description and the test for the problem Resolves tarantool/tarantool#9339 Part of tarantool/tarantool#9145
5361 of 5975 branches covered (0.0%)
Branch coverage included in aggregate %.
2 of 2 new or added lines in 1 file covered. (100.0%)
20 existing lines in 6 files now uncovered.20534 of 23305 relevant lines covered (88.11%)
2757248.93 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
95.65 |
-0.05% | src/lj_record.c |
1 |
99.04 |
1.44% | src/lj_str.c |
2 |
91.11 |
-0.32% | src/lj_alloc.c |
3 |
72.64 |
-0.42% | src/lj_crecord.c |
6 |
88.38 |
-0.76% | src/lj_ffrecord.c |
7 |
75.14 |
-0.63% | src/lj_opt_fold.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 6815135801.1 | 89 |
88.44 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|