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

c-ares / c-ares / 26365953021
92%

Build:
DEFAULT BRANCH: main
Ran 24 May 2026 04:02PM UTC
Jobs 1
Files 177
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

24 May 2026 03:59PM UTC coverage: 91.681% (-0.02%) from 91.701%
26365953021

push

github

web-flow
Replace atoi-based port parsing with validated helper (#1097)

## Description

Replace `atoi()`-based port parsing with a validated helper.

- Introduce `ares_parse_port` using `strtoul` with validation  
- Update port parsing in `ares_update_servers.c` and `ares_uri.c`  
- Avoid silent truncation and improve parsing reliability  

No changes to public APIs or behaviour for valid inputs.

Signed-off-by: @jmestwa-coder

14 of 21 new or added lines in 3 files covered. (66.67%)

1 existing line in 1 file now uncovered.

22922 of 25002 relevant lines covered (91.68%)

12825.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
63.74
0.64% src/lib/str/ares_str.c
3
82.85
-0.27% src/lib/ares_update_servers.c

Coverage Regressions

Lines Coverage ∆ File
1
95.55
-0.4% src/lib/ares_init.c
Jobs
ID Job ID Ran Files Coverage
1 26365953021.1 24 May 2026 04:01PM UTC 935
61.23
GitHub Action Run
Source Files on build 26365953021
  • Tree
  • List 177
  • Changed 58
  • Source Changed 0
  • Coverage Changed 58
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c93e50f3 on github
  • Prev Build on main (#26365595581)
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