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

drakenclimber / libcgroup / 5588385176
56%

Build:
DEFAULT BRANCH: main
Ran 18 Jul 2023 02:00PM UTC
Jobs 4
Files 30
Run time 37s
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
5588385176

push

github

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

Fix a TOCTOU issue, reported by Coverity tool:

CID 258283 (#1 of 1): Time of check time of use (TOCTOU)1.
fs_check_call: Calling function readlink 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>

5551 of 9440 relevant lines covered (58.8%)

741.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Unit Tests - 5588385176.1 18 Jul 2023 02:00PM UTC 0
11.09
GitHub Action Run
2 Cgroup v1 Functional Tests - 5588385176.2 18 Jul 2023 02:03PM UTC 0
45.0
GitHub Action Run
3 Cgroup v2 Functional Tests - hybrid - 5588385176.3 18 Jul 2023 02:10PM UTC 0
52.24
GitHub Action Run
4 Cgroup v2 Functional Tests - unified - 5588385176.4 18 Jul 2023 02:10PM UTC 0
51.2
GitHub Action Run
Source Files on build 5588385176
Detailed source file information is not available for this build.
  • Back to Repo
  • d6d14e8b on github
  • Prev Build on main (#5466139301)
  • Next Build on main (#5588385173)
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