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

ovn-kubernetes / libovsdb / 16077885487
49%
main: 50%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/opencontainers/runc-1.2.8
DEFAULT BRANCH: main
Ran 04 Jul 2025 04:37PM UTC
Jobs 1
Files 72
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

04 Jul 2025 04:30PM UTC coverage: 48.523% (-0.03%) from 48.549%
16077885487

Pull #411

github

dave-tucker
fix: Integer overflow in allocation

CodeQL picked up an issue where we're allocating a slice based on the
size of 2 integers (size of db and client indicies). The addition
of these integers isn't bounds checked, so it's possible for this
to overflow or wraparound.

In practice this is likely not an issue since the integers we're
dealing with are small. Larger integers would cause a runtime
panic since the capacity would be out of range for a slice.

Either way, this adds a small function to take care of detecting
an overflow and propagates these errors back to the caller where
possible.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
Pull Request #411: fix: Integer overflow in allocation

20 of 33 new or added lines in 2 files covered. (60.61%)

1 existing line in 1 file now uncovered.

5930 of 12221 relevant lines covered (48.52%)

110.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
71.5
-0.54% client/client.go
7
79.86
-0.45% cache/cache.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
71.5
-0.54% client/client.go
Jobs
ID Job ID Ran Files Coverage
1 16077885487.1 04 Jul 2025 04:37PM UTC 72
48.52
GitHub Action Run
Source Files on build 16077885487
  • Tree
  • List 72
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #411
  • PR Base - main (#16077091719)
  • 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