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

c-ares / c-ares / 23713475629
92%

Build:
DEFAULT BRANCH: main
Ran 29 Mar 2026 04:24PM 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

29 Mar 2026 04:21PM UTC coverage: 91.711% (-0.006%) from 91.717%
23713475629

push

github

web-flow
Use unsigned type for ares_round_up_pow2_u64 to avoid undefined behavior (#1107)

fix https://github.com/c-ares/c-ares/issues/1106:

ares_round_up_pow2_u64() operates on ares_int64_t (signed). Right-shift
of negative signed values is implementation-defined in C, and the final
n++ can overflow a signed 64-bit integer which is undefined behavior.

Change the function signature and caller cast to use ares_uint64_t
(unsigned) where the bit manipulation and overflow behavior are
well-defined.

Signed-off-by: Kaixuan Li (@MarkLee131)

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

1 existing line in 1 file now uncovered.

22770 of 24828 relevant lines covered (91.71%)

13001.33 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
97.16
-0.57% src/lib/dsa/ares_htable.c
Jobs
ID Job ID Ran Files Coverage
1 23713475629.1 29 Mar 2026 04:24PM UTC 935
61.3
GitHub Action Run
Source Files on build 23713475629
  • Tree
  • List 177
  • Changed 55
  • Source Changed 0
  • Coverage Changed 55
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 734878c1 on github
  • Prev Build on main (#23713047820)
  • Next Build on main (#23715018034)
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