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

tarantool / luajit / 29726472595
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: ligurio/lj-1459-ub-carith_ptr
DEFAULT BRANCH: tarantool/master
Ran 20 Jul 2026 08:04AM UTC
Jobs 1
Files 89
Run time 1min
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

20 Jul 2026 08:00AM UTC coverage: 93.193% (+0.03%) from 93.165%
29726472595

push

github

Buristan
Fix stack overflow relimit handling.

Thanks to Sergey Kaplun.

(cherry picked from commit d2c1327f5)

If the error handler can't fit to the top of the Lua stack, the stack is
resized up to `LJ_STACK_MAXEX + 1 + 2 * LUA_MINSTACK` hoping that
`lj_state_relimitstack()` shrinks it back. In case when another error is
(gently) handled in the error handler (`pcall(error)` or failed
`load()`) the stack is shrunk to `LJ_STACK_MAX` leaving the rest of the
handler to be executed on the clipped stack, which leads to the
heap-overflow or a crash.

This patch fixes the issue by hardening the relimiting border to match
the extra space allocated before the stack overflow. Also, it fixes some
typos in the comments.

Sergey Kaplun:
* added the description and the test for the problem

Part of tarantool/tarantool#12880

5732 of 6059 branches covered (94.6%)

Branch coverage included in aggregate %.

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

6 existing lines in 3 files now uncovered.

21868 of 23557 relevant lines covered (92.83%)

3972088.82 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
94.74
-2.87% src/lj_str.c
1
77.03
0.16% src/lj_opt_fold.c
1
96.71
-0.05% src/lj_record.c
Jobs
ID Job ID Ran Files Coverage
1 29726472595.1 20 Jul 2026 08:04AM UTC 89
93.19
GitHub Action Run
Source Files on build 29726472595
  • Tree
  • List 89
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29726472595
  • d37a88c3 on github
  • Prev Build on tarantool/master (#28652074394)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc