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

libcgroup / libcgroup / 16963823306
56%

Build:
DEFAULT BRANCH: main
Ran 14 Aug 2025 02:56PM UTC
Jobs 5
Files 38
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

14 Aug 2025 11:24AM UTC coverage: 56.259% (+0.03%) from 56.227%
16963823306

push

github

kamalesh-babulal
src/lex.l: fix pointer overflow in yylex()

UBSAN reported a pointer overflow bug when a fuzz test passed empty
strings to cgroup_init_templates_cache(). The issue is triggered by
the strlen(yylval.name - 1) check, which returns a negative value.
This value is then implicitly cast to an unsigned long long, causing
incorrect behavior. Fix this by adding checks for empty strings inputs.

This issue was discovered while running fuzz tests using the Clang
compiler.

[Kamalesh added commit message]
Signed-off-by: Aleksandr Ushakov <aushakov@astralinux.ru>
Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>

4 of 6 new or added lines in 1 file covered. (66.67%)

5604 of 9961 relevant lines covered (56.26%)

575.8 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
58.33
0.44% src/lex.l
Jobs
ID Job ID Ran Files Coverage
1 No Container Tests - 16963823306.1 14 Aug 2025 02:58PM UTC 36
44.38
GitHub Action Run
2 Sudo Tests - 16963823306.2 14 Aug 2025 02:58PM UTC 36
31.64
GitHub Action Run
3 No systemd Functional Tests - 16963823306.3 14 Aug 2025 02:57PM UTC 28
46.64
GitHub Action Run
4 Unit Tests - 16963823306.4 14 Aug 2025 02:56PM UTC 36
11.1
GitHub Action Run
5 Container Tests - 16963823306.5 14 Aug 2025 02:57PM UTC 28
35.49
GitHub Action Run
Source Files on build 16963823306
  • Tree
  • List 38
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 05ce62bc on github
  • Prev Build on main (#16936613365)
  • Next Build on main (#20820294181)
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