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

c-ares / c-ares / 24307008388 / 1
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 12 Apr 2026 12:45PM UTC
Files 935
Run time 24s
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: 61.286% (+0.005%) from 61.281%
24307008388.1

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)

24855 of 40556 relevant lines covered (61.29%)

7891.55 hits per line

Source Files on job 24307008388.1
  • Tree
  • List 935
  • Changed 56
  • Source Changed 0
  • Coverage Changed 56
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24307008388
  • 1f416a0b on github
  • Prev Job for on main (#23720842704.1)
  • Next Job for on main (#24307027224.1)
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