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

tarantool / luajit / 6815579024
89%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/luajit-performance-tests
DEFAULT BRANCH: tarantool/master
Ran 09 Nov 2023 05:56PM UTC
Jobs 1
Files 89
Run time 11s
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

09 Nov 2023 05:41PM UTC coverage: 88.162% (+0.2%) from 87.973%
6815579024

push

github

igormunkin
FFI: Fix pragma push stack limit check and throw on overflow.

Reported by Sergey Kaplun.

(cherry-picked from commit 433d7e8d8)

`cp->packstack` is the array of size `CPARSE_MAX_PACKSTACK` (7). Before
the patch, `cp->curpack` is checked to be less than
`CPARSE_MAX_PACKSTACK`, but then `cp->packstack` is accessed at
`cp->curpack + 1`, which is out of bounds, so `cp->curpack` value is
overwritten.

This patch fixes a condition and also adds the error throw when counter
is overflow (instead of rewriting a top `cp->packstack` value).

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

Resolves tarantool/tarantool#9339
Part of tarantool/tarantool#9145

Reviewed-by: Igor Munkin <imun@tarantool.org>
Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org>
Signed-off-by: Igor Munkin <imun@tarantool.org>
(cherry picked from commit 7e1519756)

5319 of 5955 branches covered (0.0%)

Branch coverage included in aggregate %.

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

19 existing lines in 4 files now uncovered.

20396 of 23213 relevant lines covered (87.86%)

695111.47 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
75.93
0.63% src/lj_opt_fold.c
2
93.33
-0.48% src/luajit.c
6
94.74
-4.31% src/lj_str.c
10
73.0
-1.01% src/lj_api.c
Jobs
ID Job ID Ran Files Coverage
1 6815579024.1 09 Nov 2023 05:56PM UTC 89
88.16
GitHub Action Run
Source Files on build 6815579024
  • Tree
  • List 89
  • Changed 84
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #6815579024
  • 3e837f37 on github
  • Prev Build on tarantool/release/2.10 (#6815044848)
  • Next Build on tarantool/release/2.10 (#6826413019)
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