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

ovn-kubernetes / libovsdb / 16077885487 / 1
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
Files 72
Run time 2s
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.1

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

5930 of 12221 relevant lines covered (48.52%)

110.53 hits per line

Source Files on job 16077885487.1
  • Tree
  • List 72
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16077885487
  • 423ea180 on github
  • Prev Job for on fix-overflow (#16077091719.1)
  • 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