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

systemd / systemd / 15405431222 / 1
73%
main: 73%

Build:
DEFAULT BRANCH: main
Ran 03 Jun 2025 02:45AM UTC
Files 1916
Run time 542min
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

02 Jun 2025 10:47PM UTC coverage: 72.041% (+0.01%) from 72.029%
15405431222.1

push

github

web-flow
network: fix a potential divide-by-zero (#37705)

In function `tc_init`, hz is parsed from the content of file
`"/proc/net/psched"` and can be 0.
In function `hierarchy_token_bucket_class_verify`, hz is directly used
as a divisor in
`htb->buffer = htb->rate / hz + htb->mtu;` without any check. This adds a check on hz before using it as a divisor.

Co-authored-by: jinyaoguo <guo846@purdue.edu>

299656 of 415953 relevant lines covered (72.04%)

703049.59 hits per line

Source Files on job 15405431222.1
  • Tree
  • List 1916
  • Changed 115
  • Source Changed 56
  • Coverage Changed 78
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15405431222
  • 1a596054 on github
  • Prev Job for on main (#15368824317.1)
  • Next Job for on main (#15430420074.1)
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