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

libcgroup / libcgroup / 5578696730
56%

Build:
DEFAULT BRANCH: main
Ran 17 Jul 2023 05:27PM UTC
Jobs 2
Files 28
Run time 13s
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
5578696730

push

github

drakenclimber
src/api.c: fix TOCTOU in cgroup_get_cgroup()

Fix a TOCTOU issue, reported by Coverity tool:

CID 258268 (#1 of 1): Time of check time of use (TOCTOU)28.
fs_check_call: Calling function access to perform check on path.

Coverity gets confused when a char array is re-used for constructing
different paths and complains about TOCTOU for unrelated paths, fix it
by using different char arrays for different path, as a side effect it
also improves the readability of the code.

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

9 of 10 new or added lines in 1 file covered. (90.0%)

6 existing lines in 1 file now uncovered.

4588 of 9402 relevant lines covered (48.8%)

226.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Unit Tests - 5578696730.1 17 Jul 2023 05:27PM UTC 0
11.09
GitHub Action Run
2 Cgroup v1 Functional Tests - 5578696730.2 17 Jul 2023 05:31PM UTC 0
44.98
GitHub Action Run
Source Files on build 5578696730
Detailed source file information is not available for this build.
  • Back to Repo
  • 645ec049 on github
  • Prev Build on main (#5578675787)
  • Next Build on main (#5578711564)
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