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

drakenclimber / libcgroup / 23309518013
56%
main: 56%

Build:
Build:
LAST BUILD BRANCH: test
DEFAULT BRANCH: main
Ran 19 Mar 2026 06:04PM UTC
Jobs 5
Files 39
Run time 1min
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

19 Mar 2026 06:02PM UTC coverage: 56.2% (+0.03%) from 56.17%
23309518013

push

github

drakenclimber
api: leave room for NUL in cgroup_get_procs()

Commit 4a851a569689 ("api: Fix unsafe call to strncat in
cgroup_get_procs() and cgroup_get_threads()") tightened several
strncat() callers, but the code building the procs/threads paths
still used the raw remaining buffer size. When the buffer is
already full, strncat() would copy path_sz bytes and overwrite
the terminator. Subtract one from the remaining length before
appending "tasks" or the controller-specific filename so there
is always space for the trailing NUL.

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

2 of 2 new or added lines in 1 file covered. (100.0%)

5620 of 10000 relevant lines covered (56.2%)

609.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Unit Tests - 23309518013.1 19 Mar 2026 06:04PM UTC 37
11.11
GitHub Action Run
2 Sudo Tests - 23309518013.2 19 Mar 2026 06:05PM UTC 37
31.69
GitHub Action Run
3 No systemd Functional Tests - 23309518013.3 19 Mar 2026 06:05PM UTC 28
46.66
GitHub Action Run
4 Container Tests - 23309518013.4 19 Mar 2026 06:05PM UTC 28
35.53
GitHub Action Run
5 No Container Tests - 23309518013.5 19 Mar 2026 06:05PM UTC 37
44.35
GitHub Action Run
Source Files on build 23309518013
  • Tree
  • List 39
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 89d64328 on github
  • Prev Build on test (#23308118686)
  • Next Build on test (#23311009133)
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