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

drakenclimber / libcgroup / 5393887131
56%

Build:
DEFAULT BRANCH: main
Ran 27 Jun 2023 07:36PM UTC
Jobs 6
Files 28
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

pending completion
5393887131

push

github

drakenclimber
api: fix build warning

Fix a build warning:
cgcreate.c: In function ‘create_systemd_scope’:
cgcreate.c:81:17: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation]
   81 |                 strncpy(slice, cg->name, len);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cgcreate.c:80:23: note: length computed here
   80 |                 len = strlen(cg->name) - strlen(scope);

fix it by using, length of destination in the strncpy().

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

5551 of 9401 relevant lines covered (59.05%)

1414.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Cgroup v1/v2 Functional Tests - 5393887131.1 27 Jun 2023 07:40PM UTC 0
53.23
GitHub Action Run
2 Unit Tests - 5393887131.2 27 Jun 2023 07:36PM UTC 0
11.12
GitHub Action Run
3 Cgroup v1 Functional Tests - 5393887131.3 27 Jun 2023 07:38PM UTC 0
44.92
GitHub Action Run
4 Cgroup v2 Functional Tests - hybrid - 5393887131.4 27 Jun 2023 07:44PM UTC 0
52.36
GitHub Action Run
5 Cgroup v2 Functional Tests - unified - 5393887131.5 27 Jun 2023 07:46PM UTC 0
51.08
GitHub Action Run
6 Cgroup v2 Functional Tests - legacy - 5393887131.6 27 Jun 2023 07:51PM UTC 0
51.42
GitHub Action Run
Source Files on build 5393887131
Detailed source file information is not available for this build.
  • Back to Repo
  • e1e2f054 on github
  • Prev Build on main (#5393887132)
  • Next Build on main (#5446117148)
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