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

c-ares / c-ares / #1295
88%
main: 92%

Build:
Build:
LAST BUILD BRANCH: more-record-types
DEFAULT BRANCH: main
Ran 22 Jul 2024 07:55PM UTC
Jobs 1
Files 158
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:51PM UTC coverage: 88.26% (-0.02%) from 88.277%
#1295

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

9247 of 10477 relevant lines covered (88.26%)

6088.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #1295.1 22 Jul 2024 07:55PM UTC 0
88.26
Source Files on build #1295
Detailed source file information is not available for this build.
  • Back to Repo
  • 4524a0cd on github
  • Prev Build on v1.32
  • Next Build on v1.32
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