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

tarantool / tarantool / 38892001640
88%

Build:
DEFAULT BRANCH: master
Ran 16 Oct 2026 11:25AM UTC
Jobs 1
Files 528
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

16 Oct 2026 11:10AM UTC coverage: 87.94% (-0.001%) from 87.941%
38892001640

push

github

Totktonada
digest: make base64_encode_bufsize() exact

base64_encode_bufsize() over-estimated the buffer in the default mode
(bin_len * 4 / 3 rounded down, plus one newline per 72 output chars
rounded up, plus 4 for padding) and under-estimated it with
BASE64_NOPAD: for bin_len = 1 it returned 2, so base64_encode() had
no room for the terminating NUL that it writes whenever the buffer
allows, while for bin_len = 3 it returned 5 and the NUL was written.
Whether the output was NUL-terminated depended on the input length.

Compute the size precisely: 4 chars per full 3-byte group (padded) or
ceil(4 * bin_len / 3) chars (unpadded), one '\n' per 54 input bytes
when wrapping is on, and one byte for the terminator. Also let the
NOPAD path in base64_encode_blockend() fall through to the common
NUL-writing tail instead of returning early, so the output is
terminated in every mode when the buffer has room.

Closes #8813

NO_DOC=internal
NO_CHANGELOG=internal

72525 of 121495 branches covered (59.69%)

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

31 existing lines in 17 files now uncovered.

108883 of 123815 relevant lines covered (87.94%)

1414586.94 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
96.79
-0.5% src/lib/msgpuck/msgpuck.h
3
92.71
-0.09% src/box/vinyl.c
3
85.9
-0.19% src/box/xlog.c
3
81.38
-0.9% src/lib/core/coio.c
2
93.46
-0.36% src/box/xrow_update_field.c
2
94.22
-0.08% src/lib/core/fiber.c
2
72.17
-1.28% src/lib/core/opt_def.c
2
94.85
-1.42% src/lib/digest/base64.c
1
89.09
-0.61% src/box/engine.c
1
97.01
-1.49% src/box/engine.h
1
90.42
-0.08% src/box/vy_log.c
1
95.21
-0.53% src/box/vy_range.c
1
88.27
0.27% src/box/vy_run.c
1
89.83
0.15% src/box/xrow.c
1
91.96
-0.11% src/lib/swim/swim.c
1
93.31
-0.32% src/lib/swim/swim_io.c
1
79.44
-0.25% src/main.cc
Jobs
ID Job ID Ran Files Coverage
1 38892001640.1 16 Oct 2026 11:25AM UTC 528
87.94
GitHub Action Run
Source Files on build 38892001640
  • Tree
  • List 528
  • Changed 25
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 4bb8a6e4 on github
  • Prev Build on master (#38891628260)
  • Next Build on master (#38905228659)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc