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

tarantool / tarantool / 14386099710
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: mandesero/gh-12389-wait-config-status
DEFAULT BRANCH: master
Ran 10 Apr 2025 05:15PM UTC
Jobs 1
Files 518
Run time 2min
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

10 Apr 2025 05:00PM UTC coverage: 87.489% (+0.006%) from 87.483%
14386099710

push

github

sergepetrenko
box: fix session use-after-free

If session is created on demand in fiber we delete it when fiber is
stopped. But we do not clear session and credentials in fiber storage.
It is not an issue for standalone fiber (outside of fiber pool) as fiber
will be destroyed or recycled and will not have chance to execute any
code before that. In case of fiber pool it become dangerous as fiber is
reused. Fortunately we never hit this because we either reset session
and credentials at start in code executed in fiber (like in iproto) or
execute code that does not check access (like in vinyl).

Recently we add `tnt_tx_push()` to execute callback in TX. This time
the issue is revealed.

Let's just clear session and credentials in fiber storage when fiber
is stopped.

Closes #11267

NO_DOC=bugfix

(cherry picked from commit 73af81f8e)

69973 of 123847 branches covered (56.5%)

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

31 existing lines in 11 files now uncovered.

102988 of 117716 relevant lines covered (87.49%)

2236231.58 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.23
-0.19% src/box/xrow_update_field.c
1
96.55
-1.15% src/lib/core/histogram.c
1
97.15
0.0% src/lib/msgpuck/msgpuck.h
1
96.15
-0.05% src/lib/salad/bps_tree.h
1
91.68
-0.11% src/lib/swim/swim.c
1
97.41
-0.85% src/lib/vclock/vclock.c
2
84.43
0.1% src/box/xlog.c
3
90.78
-0.15% src/box/applier.cc
3
92.84
-0.2% src/lib/core/fiber.c
8
60.42
-3.55% src/lib/core/fio.c
9
88.14
-7.63% src/box/vy_regulator.c
Jobs
ID Job ID Ran Files Coverage
1 14386099710.1 10 Apr 2025 05:15PM UTC 518
87.49
GitHub Action Run
Source Files on build 14386099710
  • Tree
  • List 518
  • Changed 29
  • Source Changed 0
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 7e8fb117 on github
  • Prev Build on release/3.3 (#14381843609)
  • Next Build on release/3.3 (#14389526492)
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