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

c-ares / c-ares / 24307008388
92%

Build:
DEFAULT BRANCH: main
Ran 12 Apr 2026 12:45PM 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

12 Apr 2026 12:42PM UTC coverage: 91.681% (+0.005%) from 91.676%
24307008388

push

github

web-flow
Fix malloc(0) in ares_htable_all_buckets on empty table (#1131)

When num_keys is 0, ares_malloc_zero(0) is called. On platforms where
malloc(0) returns non-NULL, both callers leak the pointer since they
check for NULL-or-empty and return without freeing. On platforms where
malloc(0) returns NULL, callers cannot distinguish empty from OOM.
Return NULL early when the table is empty.

Signed-off-by: David Hotham (@dimbleby)

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

1 existing line in 1 file now uncovered.

22769 of 24835 relevant lines covered (91.68%)

12887.04 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.19
-0.54% src/lib/dsa/ares_htable.c

Coverage Regressions

Lines Coverage ∆ File
1
86.67
-0.61% src/lib/dsa/ares_array.c
Jobs
ID Job ID Ran Files Coverage
1 24307008388.1 12 Apr 2026 12:45PM UTC 935
61.29
GitHub Action Run
Source Files on build 24307008388
  • Tree
  • List 177
  • Changed 56
  • Source Changed 0
  • Coverage Changed 56
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1f416a0b on github
  • Prev Build on main (#23720842704)
  • Next Build on main (#24307027224)
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