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

libcgroup / libcgroup / 11433442288
56%

Build:
DEFAULT BRANCH: main
Ran 21 Oct 2024 04:54AM UTC
Jobs 6
Files 30
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

21 Oct 2024 04:52AM UTC coverage: 58.578% (-0.01%) from 58.59%
11433442288

push

github

kamalesh-babulal
api.c: fix memory leak on non-writable settings

When hitting the path st_mode check, we might already have allocated a
path. In this case, the continue re-enters the loop without freeing the
path:

 653 bytes in 8 blocks are definitely lost in loss record
    at 0x484582F: realloc (vg_replace_malloc.c:1437)
    by 0x49023E1: __vasprintf_internal (vasprintf.c:79)
    by 0x48D5BD5: asprintf (asprintf.c:31)
    by 0x4B41722: cgroup_set_values_recursive (api.c:2414)
    by 0x4B4688A: _cgroup_create_cgroup (api.c:2999)
    by 0x4B47067: cgroup_create_cgroup (api.c:3062)
    by 0x4B47067: cgroup_create_cgroup (api.c:3028)

Fixes: 0e50142a1fe0 ("api.c: Don't fail a recursive write if value isn't dirty")

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>

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

2 existing lines in 2 files now uncovered.

5726 of 9775 relevant lines covered (58.58%)

1502.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Cgroup v2 Functional Tests - hybrid - 11433442288.1 21 Oct 2024 05:05AM UTC 0
51.66
GitHub Action Run
2 Cgroup v1/v2 Functional Tests - 11433442288.2 21 Oct 2024 04:58AM UTC 0
53.92
GitHub Action Run
3 Cgroup v1 Functional Tests - 11433442288.3 21 Oct 2024 04:57AM UTC 0
44.39
GitHub Action Run
4 No systemd Functional Tests - 11433442288.4 21 Oct 2024 04:55AM UTC 0
49.47
GitHub Action Run
5 Cgroup v2 Functional Tests - legacy - 11433442288.5 21 Oct 2024 05:08AM UTC 0
50.91
GitHub Action Run
6 Unit Tests - 11433442288.6 21 Oct 2024 04:54AM UTC 0
10.84
GitHub Action Run
Source Files on build 11433442288
Detailed source file information is not available for this build.
  • Back to Repo
  • 8bc6b40a on github
  • Prev Build on main (#11262458378)
  • Next Build on main (#11442108475)
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