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

vbpf / prevail / 28928321170
86%

Build:
DEFAULT BRANCH: main
Ran 08 Jul 2026 08:31AM UTC
Jobs 2
Files 79
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

08 Jul 2026 08:20AM UTC coverage: 86.505% (+0.004%) from 86.501%
28928321170

push

github

web-flow
Fix weight-slot leak, clear_edges OOB, and vertex overflow in adapt_sgraph (#1182)

Three defects in AdaptGraph (src/crab/splitdbm/adapt_sgraph.hpp):

1. forget() leaked in-edge weight slots. Each edge k -> v owns one _ws slot
   referenced from both _succs[k] and _preds[v]. The in-edge loop removed v
   from _succs[k] without recycling that slot into free_widx, so _ws grew
   monotonically across the many havoc/assign/forget operations a verification
   performs. Iterate _preds[v] as key/value and push the slot to free_widx,
   mirroring the out-edge loop. (Self-loops are recycled once via the out-edge
   loop, which first removes v from _preds[v], so no double-free.)

2. clear_edges() cleared _ws but left free_widx populated, so the next add_edge
   would take a stale index and write _ws[idx] into an emptied vector (OOB).
   Clear free_widx too. (Currently no callers, but fixed rather than left armed.)

3. verts()/new_vertex() cast the vertex count to VertId (uint16_t); at 65536
   vertices this wraps to 0. Far beyond any eBPF program, but add an assert.

Signed-off-by: Elazar Gershuni <elazarg@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

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

9160 of 10589 relevant lines covered (86.5%)

6467512.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-Debug - 28928321170.1 08 Jul 2026 09:25AM UTC 79
84.77
GitHub Action Run
2 run-Release - 28928321170.2 08 Jul 2026 08:31AM UTC 79
85.6
GitHub Action Run
Source Files on build 28928321170
  • Tree
  • List 79
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 48fdd76d on github
  • Prev Build on main (#28927448050)
  • Next Build on main (#28928391926)
  • Delete
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