|
Ran
|
Jobs
1
|
Files
89
|
Run time
8min
|
Badge
README BADGES
|
push
github
Fix another potential file descriptor leak in luaL_loadfile*(). Reported by Peter Cawley. (cherry picked from commit ab39082fd) `loadfile()` doesn't close the fd in case when `fopen()` results successfully, but then the file can't be read (since it is a directory, for example) or parser failure occurs for some reason. This patch fixes that behaviour by moving the error formatting after the cleanup of the descriptor. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#11278
5705 of 6041 branches covered (94.44%)
Branch coverage included in aggregate %.
7 of 7 new or added lines in 1 file covered. (100.0%)
8 existing lines in 3 files now uncovered.21774 of 23492 relevant lines covered (92.69%)
3831320.35 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 6 |
94.74 |
-4.31% | src/lj_str.c |
| 1 |
87.73 |
-0.08% | src/lj_crecord.c |
| 1 |
96.48 |
-0.05% | src/lj_record.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 15448724747.1 | 89 |
93.05 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|