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

systemd / systemd / 22026612225 / 1
73%
main: 73%

Build:
DEFAULT BRANCH: main
Ran 15 Feb 2026 02:54AM UTC
Files 1978
Run time 49s
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 Feb 2026 08:49PM UTC coverage: 72.694% (-0.05%) from 72.743%
22026612225.1

push

github

YHNdnzj
string-util: Prevent infinite loop pegging CPU on malformed ESC input

string_has_ansi_sequence() currently does this to look for ESC input:

    t = memchr(s, 0x1B, ...)

So each iteration re-searches from the original start pointer. But if we
find an ESC byte that does *not* start a valid ANSI sequence (like "\x1B
", or an ESC at the end of the string), then ansi_sequence_length()
returns 0, and if that ESC is still in the search window, we will just
spin consuming 100% CPU forever.

Fix this by always advancing past rejected ESC bytes.

312601 of 430025 relevant lines covered (72.69%)

1132645.84 hits per line

Source Files on job 22026612225.1
  • Tree
  • List 1978
  • Changed 78
  • Source Changed 3
  • Coverage Changed 78
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22026612225
  • 0a664310 on github
  • Prev Job for on main (#22007273413.1)
  • Next Job for on main (#22045760807.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