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

umputun / dkll
83%
master: 83%

Build:
Build:
LAST BUILD BRANCH: fix/client-test-log-setup
DEFAULT BRANCH: master
Repo Added 26 May 2019 03:19AM UTC
Files 17
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

LAST BUILD ON BRANCH fix/syslog-parser-panic
branch: fix/syslog-parser-panic
CHANGE BRANCH
x
Reset
  • fix/syslog-parser-panic
  • agent
  • chore/deps-and-go-1.26
  • ci/workflow-hardening
  • demo
  • dependabot/github_actions/github-actions-updates-d2f953908f
  • dependabot/go_modules/github.com/docker/docker-25.0.6incompatible
  • dependabot/go_modules/github.com/fsouza/go-dockerclient-1.12.1
  • dependabot/go_modules/github.com/fsouza/go-dockerclient-1.4.1
  • dependabot/go_modules/github.com/go-chi/chi/v5-5.2.1
  • dependabot/go_modules/github.com/go-chi/chi/v5-5.2.2
  • dependabot/go_modules/github.com/go-chi/chi/v5-5.2.3
  • dependabot/go_modules/github.com/go-pkgz/lgr-0.12.0
  • dependabot/go_modules/github.com/go-pkgz/lgr-0.12.1
  • dependabot/go_modules/github.com/go-pkgz/rest-1.20.3
  • dependabot/go_modules/github.com/go-pkgz/rest-1.20.4
  • dependabot/go_modules/github.com/opencontainers/runc-1.1.12
  • dependabot/go_modules/go-modules-updates-2d978dc9b6
  • dependabot/go_modules/go-modules-updates-8dcc27ee2b
  • dependabot/go_modules/go-modules-updates-ac3c29601d
  • dependabot/go_modules/go-modules-updates-dc9768f38b
  • dependabot/go_modules/go.mongodb.org/mongo-driver-1.17.3
  • dependabot/go_modules/go.mongodb.org/mongo-driver-1.17.4
  • fix/client-test-log-setup
  • fix/compose-mongo-url-typo
  • gsyslog
  • master
  • migrate-to-routegroup
  • mongo-driver
  • paskal/dependabot-disable-updates
  • paskal/dependabot-security-updates
  • refs/tags/v0.2.0
  • refs/tags/v0.3.0
  • refs/tags/v0.3.1
  • v0.1.0
  • v0.1.1
  • v0.1.2
  • v0.1.3

19 Aug 2026 11:13PM UTC coverage: 83.415% (+0.5%) from 82.881%
32312717712

Pull #57

github

paskal
Fix panic on truncated syslog lines

Previously, NewEntry sliced the line by the offset of the host and the
service token without checking that anything follows them, so a line
ending right after the timestamp, the host or the service token panicked
with an index out of range. The same applied to the RFC3339 branch of
parseTime when the line carried nothing but a timestamp. Since the syslog
server accepts unauthenticated UDP and TCP input, such a line terminated
the whole process.

After this change both use strings.Cut and return an error for a line with
a missing token or separator, so the forwarder logs it and carries on.
Pull Request #57: Fix panic on truncated syslog lines

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

1021 of 1224 relevant lines covered (83.42%)

19773.39 hits per line

Relevant lines Covered
Build:
Build:
1224 RELEVANT LINES 1021 COVERED LINES
19773.39 HITS PER LINE
Source Files on fix/syslog-parser-panic
  • Tree
  • List 17
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
32312717712 fix/syslog-parser-panic Fix panic on truncated syslog lines Previously, NewEntry sliced the line by the offset of the host and the service token without checking that anything follows them, so a line ending right after the timestamp, the host or the service token panick... Pull #57 19 Aug 2026 11:20PM UTC paskal github
83.42
See All Builds (153)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc