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

tarantool / luajit / 15559377866 / 1
93%
tarantool/master: 93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 10 Jun 2025 12:30PM UTC
Files 89
Run time 5s
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.08% (+0.06%) from 93.019%
15559377866.1

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>

5710 of 6044 branches covered (94.47%)

Branch coverage included in aggregate %.

21796 of 23507 relevant lines covered (92.72%)

3834210.72 hits per line

Source Files on job 15559377866.1
  • Tree
  • List 89
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 15559377866
  • 7035dc49 on github
  • Prev Job for on tarantool/master (#15508613285.1)
  • Next Job for on tarantool/master (#15603502129.1)
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