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

tarantool / luajit / 6795200774
88%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/luajit-performance-tests
DEFAULT BRANCH: tarantool/master
Ran 08 Nov 2023 07:47AM UTC
Jobs 1
Files 89
Run time 24s
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

08 Nov 2023 07:40AM UTC coverage: 88.435% (+0.2%) from 88.219%
6795200774

push

github

Buristan
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

5354 of 5972 branches covered (0.0%)

Branch coverage included in aggregate %.

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

7 existing lines in 3 files now uncovered.

20530 of 23297 relevant lines covered (88.12%)

2752567.95 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.11
-2.63% src/lj_vmmath.c
2
72.56
-0.17% src/lj_crecord.c
4
94.74
-2.87% src/lj_str.c
Jobs
ID Job ID Ran Files Coverage
1 6795200774.1 08 Nov 2023 07:47AM UTC 89
88.43
GitHub Action Run
Source Files on build 6795200774
  • Tree
  • List 89
  • Changed 87
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #6795200774
  • 9c9500cf on github
  • Prev Build on tarantool/master (#6785276902)
  • Next Build on skaplun/lj-1114-ffi-pragma-pack (#6808010614)
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