|
Ran
|
Jobs
1
|
Files
89
|
Run time
13min
|
Badge
README BADGES
|
push
github
Fix error generation in load*. Reported by Sergey Kaplun. (cherry picked from commit e76bb50d4) The chunkname pointer to the "@filename" is put on the Lua stack before the `lua_loadx()` and is removed right before the next `lua_pushfstring()` in case of the error. If the GC takes the step right at this moment inside `lua_pushfstring()` the string may be collected, and the next read from this `chunkname + 1` is from the deallocated memory. This patch fixes this by using the source string (or the constant one) instead. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#11278
5710 of 6045 branches covered (94.46%)
Branch coverage included in aggregate %.
2 of 2 new or added lines in 1 file covered. (100.0%)
18 existing lines in 5 files now uncovered.21792 of 23508 relevant lines covered (92.7%)
3869500.16 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 6 |
78.44 |
-0.39% | src/lj_opt_fold.c |
| 6 |
95.69 |
-3.83% | src/lj_str.c |
| 3 |
93.09 |
-0.99% | src/lj_ir.c |
| 2 |
87.81 |
-0.17% | src/lj_crecord.c |
| 1 |
96.59 |
-0.05% | src/lj_record.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 15562078962.1 | 89 |
93.06 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|