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

tarantool / luajit / 15559377894
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: ligurio/gh-12215-profilers-flags
DEFAULT BRANCH: tarantool/master
Ran 10 Jun 2025 12:26PM UTC
Jobs 1
Files 89
Run time 3min
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 12:00PM UTC coverage: 93.046% (+0.003%) from 93.043%
15559377894

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

Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org>
Signed-off-by: Sergey Kaplun <skaplun@tarantool.org>
(cherry picked from commit 7035dc49b)

5707 of 6044 branches covered (94.42%)

Branch coverage included in aggregate %.

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

23 existing lines in 7 files now uncovered.

21789 of 23507 relevant lines covered (92.69%)

3834293.93 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.98
0.25% src/lj_crecord.c
1
78.83
0.39% src/lj_opt_fold.c
1
97.28
-0.18% src/lj_trace.c
2
91.58
7.37% src/lj_load.c
2
92.0
-0.44% src/luajit.c
6
94.74
-4.31% src/lj_str.c
10
77.8
-1.01% src/lj_api.c
Jobs
ID Job ID Ran Files Coverage
1 15559377894.1 10 Jun 2025 12:26PM UTC 89
93.05
GitHub Action Run
Source Files on build 15559377894
  • 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 #15559377894
  • 069357cb on github
  • Prev Build on tarantool/release/3.2 (#15508613237)
  • Next Build on tarantool/release/3.2 (#15603502074)
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