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

tarantool / luajit / 15508613229
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/luajit-performance-tests
DEFAULT BRANCH: tarantool/master
Ran 07 Jun 2025 02:13PM 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

07 Jun 2025 01:38PM UTC coverage: 93.049% (+0.04%) from 93.008%
15508613229

push

github

Buristan
Rework stack overflow handling.

Reported by pwnhacker0x18. Fixed by Peter Cawley.

(cherry picked from commit defe61a56)

In case of the Lua stack overflow error, LuaJIT restores the `L->top`
value and pushes the error message above. It is possible that the
restored value is greater than `L->maxstack`, so pushing the error
message causes dirty write out-of-bounds.

This patch prevents it by overwriting stack overflow handling machinery.
Now, in the aforementioned case, the last frame is replaced with a dummy
frame to avoid dirty writes. In some cases, there may not be enough
space on the stack to invoke the error handler. See the related changes
in the <test/LuaJIT-tests/lang/stackov.lua>.

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 58dcabe69)

5709 of 6045 branches covered (94.44%)

Branch coverage included in aggregate %.

29 of 31 new or added lines in 2 files covered. (93.55%)

2 existing lines in 2 files now uncovered.

21788 of 23506 relevant lines covered (92.69%)

3834625.75 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
90.38
-0.23% src/lj_err.c

Uncovered Existing Lines

Lines Coverage ∆ File
1
78.83
0.31% src/lj_opt_fold.c
1
99.04
-0.48% src/lj_str.c
Jobs
ID Job ID Ran Files Coverage
1 15508613229.1 07 Jun 2025 02:13PM UTC 89
93.05
GitHub Action Run
Source Files on build 15508613229
  • Tree
  • List 89
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15508613229
  • e2b7e7b9 on github
  • Prev Build on tarantool/release/3.4 (#15491957545)
  • Next Build on tarantool/release/3.4 (#15559377869)
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

© 2025 Coveralls, Inc