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

tarantool / tarantool / 5962248167
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: gh-10737
DEFAULT BRANCH: master
Ran 24 Aug 2023 10:23AM UTC
Jobs 1
Files 476
Run time 30s
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

24 Aug 2023 09:58AM UTC coverage: 85.83% (+0.002%) from 85.828%
5962248167

push

github

locker
box: validate key_def->part_count prior to memory allocation

part_count was checked in index_def_check(), which was called too late.
Before that check:
1. `malloc(sizeof(*part_def) * part_count)` can fail for huge part_count;
2. key_def_new() can crash for zero part_count because of out of bound
   access in:

NO_WRAP
   - #1 key_def_contains_sequential_parts (def=0x5555561a2ef0) at src/box/tuple_extract_key.cc:26
   - #2 key_def_set_extract_func (key_def=0x5555561a2ef0) at src/box/tuple_extract_key.cc:442
   - #3 key_def_set_func (def=0x5555561a2ef0) at src/box/key_def.c:162
   - #4 key_def_new (parts=0x7fffc4001350, part_count=0, for_func_index=false) at src/box/key_def.c:320
NO_WRAP

Closes #8688

NO_DOC=bugfix

(cherry picked from commit ef9e3320d)

62323 of 114200 branches covered (54.57%)

9 of 9 new or added lines in 2 files covered. (100.0%)

93311 of 108716 relevant lines covered (85.83%)

2638906.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5962248167.1 24 Aug 2023 10:23AM UTC 0
85.83
GitHub Action Run
Source Files on build 5962248167
Detailed source file information is not available for this build.
  • Back to Repo
  • 2d6fd5cf on github
  • Prev Build on release/2.11 (#5937400813)
  • Next Build on release/2.11 (#5964532414)
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