|
Ran
|
Files
89
|
Run time
8s
|
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
5707 of 6041 branches covered (94.47%)
Branch coverage included in aggregate %.
21769 of 23492 relevant lines covered (92.67%)
3829734.09 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|