|
Ran
|
Jobs
1
|
Files
89
|
Run time
4min
|
Badge
README BADGES
|
push
github
Correctly close VM state after early OOM during open. Reported by Assumeru. (cherry picked from commit 5ca25ee83) `lua_newstate()` sets `g->str.mask` to `~(MSize)0` before calling `cpluaopen(). If OOM happens before the `lj_str_init()` call, `lj_gc_freeall()` calls `gc_sweepstr()` in a loop with incorrect top limit `g->str.mask`, which leads to the crash. This patch changes the order of the loop iteration with the correct bottom limit. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#11691
5712 of 6047 branches covered (94.46%)
Branch coverage included in aggregate %.
2 of 2 new or added lines in 1 file covered. (100.0%)
14 existing lines in 4 files now uncovered.21796 of 23508 relevant lines covered (92.72%)
3873965.82 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
88.06 |
0.08% | src/lj_crecord.c |
| 1 |
78.83 |
0.31% | src/lj_opt_fold.c |
| 2 |
92.0 |
-0.44% | src/luajit.c |
| 10 |
77.8 |
-1.01% | src/lj_api.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 17034842769.1 | 89 |
93.07 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|