• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / luajit / 15557142892
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: tarantool/release/3.7
DEFAULT BRANCH: tarantool/master
Ran 10 Jun 2025 10:34AM UTC
Jobs 1
Files 89
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Jun 2025 10:31AM UTC coverage: 93.039% (-0.006%) from 93.045%
15557142892

push

github

Buristan
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

5710 of 6044 branches covered (94.47%)

Branch coverage included in aggregate %.

7 of 7 new or added lines in 1 file covered. (100.0%)

71 existing lines in 8 files now uncovered.

21784 of 23507 relevant lines covered (92.67%)

3832479.27 hits per line

Coverage Regressions

Lines Coverage ∆ File
21
96.59
0.11% src/lj_record.c
16
90.38
-0.23% src/lj_err.c
15
90.33
0.22% src/lj_debug.c
10
77.8
-1.01% src/lj_api.c
4
97.73
0.07% src/lj_state.c
2
87.77
-0.11% src/lj_sysprof.c
2
92.0
-0.44% src/luajit.c
1
78.44
-0.08% src/lj_opt_fold.c
Jobs
ID Job ID Ran Files Coverage
1 15557142892.1 10 Jun 2025 10:34AM UTC 89
93.04
GitHub Action Run
Source Files on build 15557142892
  • Tree
  • List 89
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15557142892
  • 0859667a on github
  • Prev Build on skaplun/lj-1249-loadfile-fd-leak (#15448724747)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc