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

tarantool / tarantool / 5962237819
88%

Build:
DEFAULT BRANCH: master
Ran 24 Aug 2023 10:12AM UTC
Jobs 1
Files 492
Run time 12s
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: 86.296% (-0.02%) from 86.313%
5962237819

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

63875 of 115424 branches covered (55.34%)

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

95537 of 110708 relevant lines covered (86.3%)

2648342.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5962237819.1 24 Aug 2023 10:12AM UTC 0
86.3
GitHub Action Run
Source Files on build 5962237819
Detailed source file information is not available for this build.
  • Back to Repo
  • ef9e3320 on github
  • Prev Build on master (#5962218466)
  • Next Build on master (#5962419014)
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