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

kubernetes-sigs / external-dns / 26714121743
81%

Build:
DEFAULT BRANCH: master
Ran 31 May 2026 01:38PM UTC
Jobs 2
Files 155
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

31 May 2026 01:36PM UTC coverage: 80.628% (+0.002%) from 80.626%
26714121743

push

github

web-flow
fix(mapper): prevent index out of bounds in ToEndpointName with multi-dot suffix (#6433)

When a multi-dot txt-suffix (e.g. ".foo.bar") is configured,
ToEndpointName panics on DNS names with fewer labels than the
suffix expects:

  1. parts[:1+dc] panics when len(parts) <= dc
  2. parts[1+dc] panics when len(parts) == 1+dc

Add bounds checks before both slice accesses and return ("", "")
directly for the too-few-labels case, with a debug log for
operator visibility. Return the correct result when the name has
exactly enough labels to match the suffix but no trailing labels.

This generalizes the single-label fix from #4885, which only
guarded the zero-dot case via strings.Contains.

Signed-off-by: Jathavedhan M <jathavedhan.m@ibm.com>

17260 of 21407 relevant lines covered (80.63%)

1450.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-latest - 26714121743.1 31 May 2026 01:37PM UTC 155
80.63
GitHub Action Run
2 run-macos-latest - 26714121743.2 31 May 2026 01:39PM UTC 155
80.62
GitHub Action Run
Source Files on build 26714121743
  • Tree
  • List 155
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26714121743
  • 8d45c1cd on github
  • Prev Build on master (#26656094795)
  • Next Build on master (#26727084309)
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