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

c-ares / c-ares / 10047407198
92%

Build:
DEFAULT BRANCH: main
Ran 22 Jul 2024 07:51PM UTC
Jobs 1
Files 167
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

22 Jul 2024 07:49PM UTC coverage: 91.57% (-0.03%) from 91.597%
10047407198

push

github

web-flow
mem leak due to `ares__hosts_entry_to_hostent()` allocation strategy (#824)

`ares__hosts_entry_to_hostent()` would allocate a separate buffer for
each address, but `ares_free_hostent()` expects a single allocation to
hold all addresses.

This PR fixes this issue and simplifies the logic by using the
already-existing `ares__addrinfo2hostent()` to write the hostent instead
of coming up with yet another way to write the structure.

Fixes #823 
Fix By: Brad House (@bradh352)

15 of 20 new or added lines in 1 file covered. (75.0%)

2 existing lines in 2 files now uncovered.

19249 of 21021 relevant lines covered (91.57%)

7120.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10047407198.1 22 Jul 2024 07:51PM UTC 0
57.53
GitHub Action Run
Source Files on build 10047407198
Detailed source file information is not available for this build.
  • Back to Repo
  • 6936e672 on github
  • Prev Build on main (#10045468205)
  • Next Build on main (#10047935532)
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