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

drakenclimber / libcgroup / 5446117156
56%

Build:
DEFAULT BRANCH: main
Ran 03 Jul 2023 03:19PM UTC
Jobs 6
Files 28
Run time 11s
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

pending completion
5446117156

push

github

drakenclimber
tools/cgclassify: fix controller overflow array range

Fix out-of-bounds write issue, reported by Coverity tool:

CID 321270 (#1 of 1): Out-of-bounds write (OVERRUN)47. overrun-local:
Overrunning array info of 16 4128-byte elements at element index 16
(byte offset 70175) using index i (which evaluates to 16).

MAX_MNT_ELEMENTS is an array that's allocated for array parsing and
populating the mount points, as per Linux Kernel, this can't be above
16 and it works fine while checking for index < MAX_MNT_ELEMENTS, but
in this case, we rely on the mount point name to be empty ('\0'), since
allowed maximum mount points are 16, increase the allocation index to
17 for the info structure, to accommodate 16 controllers, but that is
unlikely.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>

5558 of 9401 relevant lines covered (59.12%)

1373.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Unit Tests - 5446117156.1 03 Jul 2023 03:19PM UTC 0
11.08
GitHub Action Run
2 Cgroup v1 Functional Tests - 5446117156.2 03 Jul 2023 03:21PM UTC 0
45.03
GitHub Action Run
3 Cgroup v1/v2 Functional Tests - 5446117156.3 03 Jul 2023 03:23PM UTC 0
53.2
GitHub Action Run
4 Cgroup v2 Functional Tests - hybrid - 5446117156.4 03 Jul 2023 04:05PM UTC 0
52.36
GitHub Action Run
5 Cgroup v2 Functional Tests - legacy - 5446117156.5 03 Jul 2023 03:57PM UTC 0
51.4
GitHub Action Run
6 Cgroup v2 Functional Tests - unified - 5446117156.6 03 Jul 2023 04:12PM UTC 0
51.11
GitHub Action Run
Source Files on build 5446117156
Detailed source file information is not available for this build.
  • Back to Repo
  • edc33e06 on github
  • Prev Build on main (#5446117148)
  • Next Build on main (#5466139293)
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