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

c-ares / c-ares / #1298
81%
main: 92%

Build:
Build:
LAST BUILD BRANCH: dohpath
DEFAULT BRANCH: main
Ran 22 Jul 2024 08:00PM UTC
Jobs 1
Files 142
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:57PM UTC coverage: 80.645% (+0.07%) from 80.577%
#1298

push

travis-ci

bradh352
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 22 new or added lines in 1 file covered. (68.18%)

7704 of 9553 relevant lines covered (80.64%)

1943.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #1298.1 22 Jul 2024 08:00PM UTC 0
80.64
Source Files on build #1298
Detailed source file information is not available for this build.
  • Back to Repo
  • efc8540f on github
  • Prev Build on v1.25
  • Next Build on v1.25
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